Home   Help Search Login Register  

Author Topic: Presence of a sqaud  (Read 440 times)

0 Members and 1 Guest are viewing this topic.

NA556

  • Guest
Presence of a sqaud
« on: 11 Feb 2005, 20:48:06 »
I want to know how to set a squad so if the leader isnt present (using the 'probability of presence' slider) then the entire squad is not present. cheers for any help.


Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Presence of a sqaud
« Reply #1 on: 11 Feb 2005, 20:51:34 »
name leader a1

put his probability of presence to 50%

in the condition of presence line of every soldier in his group you write:

alive a1
« Last Edit: 11 Feb 2005, 20:52:14 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Presence of a sqaud
« Reply #2 on: 12 Feb 2005, 00:52:14 »
for a large group that could be tiedious, so you could also make the group leader and set it's probability to whatever, and in its init line put
Code: [Select]
squad1 = group this
then make a trigger and in the condition line put
Code: [Select]
alive [i]squadleader's name[/i] and in the activation line put
Code: [Select]
{deleteVehicle _x} forEach units leader squad1
take your pick :)
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08