Jump to content
Sign in to follow this  
mechastalin

Making all OPFOR move to one area on a trigger.

Recommended Posts

In my mission I have all sorts of randomly generated OPFOR roaming about, is it possible to make it so that when a trigger is activated, all the units on the OPFOR side are given a waypoint to move to the location of a certain trigger, object, or marker? That way all patrolling forces will come to the aid of the objective currently under attack.

Share this post


Link to post
Share on other sites

You might want to create a trigger in the 'inffluence area', set activation to east, set some conditions that fits your purpouses, and on act. field write down:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x doMove POSITION} forEach thislist;

where POSITION is a position array, (position player, markerPos "marker", etc...). This should made every opfor unit moving to that point.

Triggers can also be created via createTrigger command.

hope it helps

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  

×