Jump to content
Sign in to follow this  
1para{god-father}

Trigger Detected by independent

Recommended Posts

OK did have looked but could not find what I needed for Detected By:

I need it to be set to independent detected by blue for and repeated - so when Independent detect blue for i get the hint

_triggeram1 = createTrigger["EmptyDetector",[getmarkerPos _pos select 0,getmarkerPos _pos select 1,0]];
_triggeram1 setTriggerArea [320,320,0,false];
_triggeram1 setTriggerActivation ["GUER","WEST D",true];
_triggeram1 setTriggerTimeout [1,1,1,true];
_triggeram1 setTriggerStatements ["(count thisList) == 0", "Hint 'all dead';",""];
sleep 2;
_triggeram2 = createTrigger["EmptyDetector",[getmarkerPos _pos select 0,getmarkerPos _pos select 1,0]];
_triggeram2 setTriggerArea [320,320,0,false];
_triggeram2 setTriggerActivation ["GUER","WEST D",true];
_triggeram2 setTriggerTimeout [1,1,1,true];
_triggeram2 setTriggerStatements ["this", "hint 'Detected'",""];

Well i thought it was working but i get the message all dead ? when there is still a independent in the zone - is the following correct ?

(count thisList) == 0

Edited by psvialli

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  

×