jeppelykke 0 Posted March 3, 2003 Is it possible to make a trigger then moves around? What am thinking of adding to my missions is a "E-2 Hawkeye AWACS" plane that fly's around the map. I then need a trigger that follows the "E-2 Hawkeye AWACS" around the same spot as the "E-2 Hawkeye AWACS". As the trigger will be "Detected By East" then a marker will be added on the map for where it saw groundforcess. I just want to hear, what you guys think would be the best/easy way of doing this project! Best Regards Jeppe Lykke, Denmark Share this post Link to post Share on other sites
Harnu 0 Posted March 3, 2003 Maybe you can do this by an easy script: MovingTrigger.sqs </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">#loop ?(not alive(Plane1)):exit trigger1 setpos [(getpos plane1 select 0, getpos plane1 select 1, getpos plane1 select 2) + 0] goto "loop" <span id='postcolor'> Trigger1 being the name of your trigger, and plane1 being the name of the AWAC. To Activate the script just put a trigger over the AWAC to start. Â Detected by west. (Or whatever side it's on) then onActivation: [plane1] exec "MovingTrigger.sqs" Share this post Link to post Share on other sites
jeppelykke 0 Posted March 3, 2003 Cool, even easyier then i thought Share this post Link to post Share on other sites
jeppelykke 0 Posted March 3, 2003 Cool, even easyier then I thought Thanx Harnu Share this post Link to post Share on other sites