Home   Help Search Login Register  

Author Topic: SOLVED Not alive multiple units?  (Read 1727 times)

0 Members and 1 Guest are viewing this topic.

Offline stephen271276

  • Members
  • *
SOLVED Not alive multiple units?
« 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?
« Last Edit: 18 Feb 2011, 17:25:54 by stephen271276 »

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: SOLVED Not alive multiple units?
« Reply #1 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
« Last Edit: 19 Feb 2011, 01:15:19 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom