Forum Jump :

Author Message

Posts: 1

Level: Member

Country: ca
In-game name:

#1 Posted at 2014-07-11 00:11        
Hey guys, I'm currently working on a small single player mission where the player has to navigate their way out of a maze. Inside the maze, there are 3 officers that the player must kill before the mission will complete.

triggerActivated off1 && triggerActivated off2 && triggerActivated off3;

I'm having trouble getting the trigger which ends my mission to not activate as soon as the third officer is dead. From what I was understanding, all I need to do is have a "this" before my little code. The problem is, whenever I have a "this" in front, and add the brackets, I get an error say Missing ";". Where am I going wrong?

this [triggerActivated off1] && [triggerActivated off2] && [triggerActivated off3];