Results 1 to 1 of 1

Thread: Trigger Detected by independent

  1. #1

    Trigger Detected by independent

    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

    Code:
    _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 ?

    Code:
    (count thisList) == 0
    Last edited by psvialli; Feb 9 2012 at 11:49.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •