OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NA556 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.
-
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
-
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
squad1 = group this
then make a trigger and in the condition line put alive [i]squadleader's name[/i] and in the activation line put {deleteVehicle _x} forEach units leader squad1
take your pick :)