OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started 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?
-
Well, I think I have the answer to your question....
if You're using this command: !(alive Unit1)
just You must write this:
!(alive unit1) && !(alive unit2) && !(alive unit3) && !(alive unit4)
Hope that helps
Regards,
Aldo