OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: RangerX3X on 13 Apr 2008, 18:20:17
-
I tried searching for this but there seems to be nothing specific to my situation.
I have a simple mission where there are three objectives. The mission ends when all three objectives are met.
The last objective is the group leader has to reach a specific zone - extraction. If the group leader (the player) is on the ground and not in a vehicle it works fine and that objective is completed and is ticked on the briefing.
But if the group leader enters this specific zone in a helicopter (AI) that came and picked him up, he does not fire the trigger and the game doesn't end as a result because the third trigger never fired.
Anyone have this happen using a Group Leader present trigger?
-
You need to check if the player, or the player's vehicle, is in the trigger zone (if on foot, the player's "vehicle" is the player himself):
(vehicle player) in thisList
You would want the activation to be based on the player's side though ("WEST PRESENT", for example), rather than just the group leader/synchronisation activation as you have it, otherwise it would exclude the player when in a vehicle.