Home   Help Search Login Register  

Author Topic: player squad  (Read 1072 times)

0 Members and 1 Guest are viewing this topic.

Offline ZapBrannigan

  • Members
  • *
player squad
« on: 30 Nov 2007, 06:53:24 »
Hi,

I need to know how to get a trigger to activate when the player is the last man alive in his squad. Can anybody help me? thanks

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: player squad
« Reply #1 on: 30 Nov 2007, 11:14:32 »
How about something like :

Code: [Select]
{alive _x} count units group Player == 1
I.e., when there is one unit left in the Player's group (which should be the player, since the mission would've ended if the player died, right?  ;))

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline ZapBrannigan

  • Members
  • *
Re: player squad
« Reply #2 on: 01 Dec 2007, 05:33:01 »
Hey thanks wolfrug