Home   Help Search Login Register  

Author Topic: Trigger Issue With Group Leader in Vehicle  (Read 1120 times)

0 Members and 1 Guest are viewing this topic.

Offline RangerX3X

  • Members
  • *
  • Ranger, out.
    • RangerX3X
Trigger Issue With Group Leader in Vehicle
« 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?

Ranger, out.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Trigger Issue With Group Leader in Vehicle
« Reply #1 on: 14 Apr 2008, 16:05:35 »
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):
Code: (trigger condition) [Select]
(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.
« Last Edit: 14 Apr 2008, 16:08:42 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)