OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rOk on 10 Jul 2004, 13:45:57

Title: Getting percentage from an array of units
Post by: rOk on 10 Jul 2004, 13:45:57
For example
I have 4 troops(each one a group), 2 of them must survive until the end or I loose the mission!
Thanks
Title: Re:Getting percentage from an array of units
Post by: macguba on 10 Jul 2004, 14:47:26
"alive _x" count [loon1,loon2,loon3,loon4] >= 2

Syntax not guaranteed.
Title: Re:Getting percentage from an array of units
Post by: rOk on 12 Jul 2004, 12:30:31
Thanks, will try it today