OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: greg147 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
not (alive tank1) activates a trigger when tank1 is destroyed, but how do I do this with 2 tanks destroyed?
Thanks ;)
-
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)
-
Don't use not alive for vehicles, it is unreliable. Use something like
"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.
-
Aha, that should work. Thanks for the help. ;D
-
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 :-\
-
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
-
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