OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: stephen271276 on 18 Feb 2011, 17:08:39

Title: SOLVED Not alive multiple units?
Post by: stephen271276 on 18 Feb 2011, 17:08:39
I know how to create a trigger to activate when a unit dies ie "!alive unit1"
But say for instance I want a trigger to activate once a 3 or four units have died and not before? What do I put in condition?
Title: Re: SOLVED Not alive multiple units?
Post by: Aldo15 on 18 Feb 2011, 18:12:21
Well, I think I have the answer to your question....

if You're using this command:
Quote
!(alive Unit1)
just You must write this:

Code: [Select]
!(alive unit1) && !(alive unit2) && !(alive unit3) && !(alive unit4)
Hope that helps

Regards,
Aldo