Jump to content
Sign in to follow this  
1para{god-father}

Convoy and OPFOR

Recommended Posts

OK after some help please, I have an idea but just do not know how to do it !

Via script I have spawned 3 repair trucks in at my FOB and I have to get them to a location on the map to end the task , this is fine but i need to try and make it more intersting.

What I would like is that if a repair truck stops for more than 20 seconds or there is a big gap between the truck - spawn some enemy behind the trucks to try and get them to engage.

or if easier spawn another vehicle in that needs to follow the convoy and if that leaves a big gap then spawn enemy in ?

Is this possible and how would i do this via script ?

Share this post


Link to post
Share on other sites

You could use the distance condition in a trigger for the trucks.

truck1 distance truck2 >= 150

That would fire a trigger when the distance between truck1 and truck2 is more than 150 meters.

Then you can fire any script when that condition has been met in the On Activation of the same trigger.

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  

×