Home   Help Search Login Register  

Author Topic: Multiple units dead = end  (Read 560 times)

0 Members and 1 Guest are viewing this topic.

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Multiple units dead = end
« on: 13 Feb 2005, 21:34:47 »
Hi all,
   
1. How do I make a mission end when a certain 3 groups are destroyed?

2. Also, I know that
Code: [Select]
not (alive tank1) activates a trigger when tank1 is destroyed, but how do I do this with 2 tanks destroyed?


Thanks  ;)
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Multiple units dead = end
« Reply #1 on: 14 Feb 2005, 00:19:03 »
1. Group a not present trigger to the three groups, and make it cover the entire entire map. then set it to do what you want

2. not alive tank1 and not alive tank2
or
!(alive tank1) && !(alive tank2)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Multiple units dead = end
« Reply #2 on: 14 Feb 2005, 00:42:33 »
Don't use not alive for vehicles, it is unreliable.    Use something like

Quote
"not (canMove _x) or not (canFire _x)" count [ tank1, tank2, tank3, tank4, tank5, tank6 ] == 6

which Sui gave as an answer to this same question in a thread on this very page.


« Last Edit: 14 Feb 2005, 00:43:20 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Multiple units dead = end
« Reply #3 on: 14 Feb 2005, 09:01:28 »
Aha, that should work. Thanks for the help. ;D
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Multiple units dead = end
« Reply #4 on: 14 Feb 2005, 15:19:00 »
Hang on a sec

@Triggerhappy

How do you group a trigger with more than one group? Every time I try to group a second group to it, the first deletes itself  :-\
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Multiple units dead = end
« Reply #5 on: 14 Feb 2005, 20:07:41 »
Quote
How do you group a trigger with more than one group? Every time I try to group a second group to it, the first deletes itself


Hmmmmm........not sure............maybe using the shift key perchance?


Planck
I know a little about a lot, and a lot about a little.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Multiple units dead = end
« Reply #6 on: 14 Feb 2005, 22:19:40 »
drag the line from the groups to the trigger (as in click the group first)
if you do it the other way around it will just change it