Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
player squad
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: player squad (Read 1071 times)
0 Members and 1 Guest are viewing this topic.
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
Logged
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.
Logged
"When 900 years
YOU
reach, look as good you will not!"
ZapBrannigan
Members
Re: player squad
«
Reply #2 on:
01 Dec 2007, 05:33:01 »
Hey thanks wolfrug
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
player squad
Top of page