Jump to content
Sign in to follow this  
jeppelykke

Need help/suggestion

Recommended Posts

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 smile.gif

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×