Jump to content
Sign in to follow this  
ckolonko

Few Questions

Recommended Posts

Hi,

I need some help. I'm making a mission in which you have to ambush an insurgent force. However, i want it so that the objective is met when you kill a certain number of the group. not necesarily the whole lot. Also i want the unit to retreat to a certain waypoint once they get attacked.

Share this post


Link to post
Share on other sites

You can use a trigger for the objective part at least.

Set up a trigger that covers your ambush area. Set it to Activation OPFOR, Repeatedly, Present.

In the Condition put:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

count thislist <= 5

and in the On Act. put:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

"0" objStatus "DONE"; obj0_done = true;

Of course changing the 5, "0", and objX_done to match the proper amount of enemies left and objective order you wanted.

If you set this trigger as a Switch Type and Synchronize it with your Cycle Waypoint, it'll break the enemy out of their patrol pattern and make them head to the next waypoint.

Share this post


Link to post
Share on other sites

Thanks i'll give it a try.

Yeh it worked. thanks

Just one more question:

When i was making missions in ofp i used a command that was like if notAlive=true etc etc then a command something like AND OR that meant that i could have an objective which was triggered when i killed either one enemy or 2 how do i do this in ArmA?

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  

×