OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: cosjacket on 24 Feb 2008, 21:48:35

Title: destroyed planes
Post by: cosjacket on 24 Feb 2008, 21:48:35
hi there

i have a mission where 6 planes need to be destroyed..how ca n i tell in game if all 6 have been destroyed and get a message to appear xx
Title: Re: destroyed planes
Post by: Mandoble on 24 Feb 2008, 23:23:24
Lets say your planes are named plane1 ... plane6
Add a trigger, in the condition field put:
Code: [Select]
({alive _x} count [plane1, plane2, plane3, plane4, plane5, plane6) == 0In the effects add the desired text.