Does everything before the THEN in a procedure need to be a condition? I'm trying to use the dif between two numbers as a condition for my then statement. I'm not getting errors but the condition keeps coming out false and the THEN statement is not executing.
I'm wondering if IntegerSubtract is allowed to be used in procedures.
Here's a bit of the code.
IntegerSubtract(_TriggerNum,_LastTriggerNum,_TrigDif)
AND
_TrigDif == "2"
THEN
PlayEffectAtCharacter("FX_Skills_Air_Storm_Impact_A",_Player);
CharacterTeleportToTrigger(_Player,_LastTrig,"");
Thanks
Mag
Last edited by Mag; 01/09/14 08:16 PM.