Jump to content
Sign in to follow this  
christian2526

Problem with createTrigger.

Recommended Posts

Hey Everyone,

i have a litte Problem with the createTrigger command. I want the Trigger to be created on the end of a Script i wrote for a Mission System:

//Task Update
trg = createTrigger["EmptyDetector",getPos bunker];
_trg setTriggerArea[400,400,0,true];
_trg setTriggerActivation["EAST","NOT PRESENT",true];
_trg setTriggerStatements["this", "task1 setTaskState 'Succeeded'", ""];

I dont know if the Trigger is created or not, or if something else isn`t working. Can you guys help me getting this ready today? Can you see any Error?

Chris :confused:

//Edit

Got it working ;p

Close request

Edited by christian2526

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×