OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Garbol87 on 01 Aug 2009, 10:04:36
-
Hi!
So I wanted to make a little escort convoy mission.
But when I placed units in the editor I've encountered a problem... How do I make 4 trucks (that are empty at start of the mission) activate a trigger (checkpoint) when they reach it.
I tried grouping whit trigger (but only one empty vechicle can be grouped whit the trigger) them and "isOnRoad truck" but the trigger activates even if the vechicle isnt in its radius. I don't know I would like it to be as easy as typing "truck 1 and tuck2 and truck3 and truck4 activate trigger" :)
Thanks for help in advance :)
-
Name the empty trucks truck1, truck2, truck3, etc. Name your trigger. In my example it's called myTrigger.
CONDITION: truck1 distance myTrigger < 50 AND truck2 distance myTrigger < 50 AND truck3 distance myTrigger < 50 AND truck4 distance myTrigger < 50
ON ACTIVATION: Whatever you want to happen when the trucks reach their destination
-
Ok it works thanks for help :)