Jump to content
Sign in to follow this  
cadmium77

Scripting ambushes..

Recommended Posts

Is it possible to script "hold fire till enemy is at 300 (or 200 or 100) yards for setting up ambushes in the editor?

Share this post


Link to post
Share on other sites

Set a waypoint with the combat mode set to "never fire" which puts the troops in position. Then have a trigger synchronized to a second waypoint that switches them to "engage/fire at all". That's probably the easiest way, I think, but I'm not sure.

Additionally, you could just not spawn the units until a trigger is activated. That doesn't take much work - just a simple .sqf and some markers.

Also, you can try using "disableAI" and "enableAI" via script in a similar manner to the first method. Just disable everything and then reenable it when the trigger is triggered.

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  

×