Jump to content
Sign in to follow this  

Recommended Posts

Hey,

I am working on a Coop mission and i wanted to do this :

You have to clear a village. In the village are around 20 insurgents. When you have killed the 20 insurgents. Then you got 5 min to create a defensive position. So what i want is as soon you have cleared the village, around 30 insurgents wil set of to the village to recapture it, this is the first wave, after that i want to give the player another 5 min, then the second wave will arive. So how can i trigger a group of units to set of to a location as soon you have completed an objective or killed a number of units that wil trigger other units?

Thanks!

Share this post


Link to post
Share on other sites

Heres one way that works for me:

You can synchronize the trigger to the first waypoint move marker of the reinforcements. (they will wait to "reinforce"/move until the trigger is true= i.e. opfor/not present) If you have them sitting in a truck in the next town over, you can time it to where they arrive in about 5 minutes, Just give them a get out command when they get to the objective.

Share this post


Link to post
Share on other sites

Or you can use...

_group lockWp true;

...to lock the attacing group at a waypoint and then...

_group lockWp false;

...when you want them to continue moving to next waypoint.

Share this post


Link to post
Share on other sites

Sync the trigger to the first move waypoint, that will make them stop there and wait for the trigger to become true before moving on.

Share this post


Link to post
Share on other sites

you could give them a Hold waypoint and sync a Switch type trigger to it, so that when the trigger is activated it switches them to move to the next waypoint away from the hold position.

Share this post


Link to post
Share on other sites

Hi warghost20,

Have you considered spawning/calling/running a script that as soon as it knows that all enemy units are dead (aka !alive) then you put some code to allow to wait for 5 min and then spawn another AI group (with given directions where to go)?

Just a thought.

Best, Splicer.

Share this post


Link to post
Share on other sites

hey i did sync it to the first waypoint but the unit still moved before i got into the trigger area.

@animalMother92 how do i create a switch type trigger?, could you tell me step by step how to do that?

Thank you very mutch!

Share this post


Link to post
Share on other sites
hey i did sync it to the first waypoint but the unit still moved before i got into the trigger area.

Yes, it will move to the waypoint you sync the trigger to, but will not continue until trigger becomes true. If you want that the vehicle doesn't move at all, place the first waypoint right on top of it.

Share this post


Link to post
Share on other sites
Hi warghost20,

Have you considered spawning/calling/running a script that as soon as it knows that all enemy units are dead (aka !alive) then you put some code to allow to wait for 5 min and then spawn another AI group (with given directions where to go)?

Just a thought.

Best, Splicer.

you know perhaps were i can get a script like that?

it still wont work this what is what i got so far:

arma3.jpg

arma2.jpg

arma1.jpg

Edit : Ive Got It Working!

But what if i want to move the unit to a waypoint when everybody is dead, is that possbile?

Edited by warghost20

Share this post


Link to post
Share on other sites

i want to trigger something when a objective is completed how do i do that?

Share this post


Link to post
Share on other sites
Use the "condition" field in a trigger.

i typ in the same command what i use for completing an objective?

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  

×