OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 11 Jul 2003, 05:14:49

Title: failing a mission when guys die
Post by: gadolinite on 11 Jul 2003, 05:14:49
I set up a trigger that is supposed to activate when one or more of the guys die at once

!(alive r1) or !(alive r2) and so on in the condition field of the trigger.

If the condition is met, the trigger is supposed to trigger end number 2

It does not work :o

What is wrong???

Thank you
Title: Re:failing a mission when guys die
Post by: LCD on 11 Jul 2003, 07:14:03
put da whole condition field ? mebe u put and somwere ?

btw u can try doint somin like dat ;)

"not alive _X" count [r1,r2,etc] > 0

(put all da unit names were da etc is ;) sperated by , ;D)

LCD OUT
Title: Re:failing a mission when guys die
Post by: Siber Fox on 11 Jul 2003, 11:16:25
What I sometimes do is make 2 triggers.

Trigger One: Condition field: !(Alive r1)
                     End 2

Trigger Two: Condition Feild: !(Alive r2)
                     End 2

Hope that helps.
Title: Re:failing a mission when guys die
Post by: Artak on 11 Jul 2003, 11:23:28
I think it would be better to just type it all in the same trigger. Like
!(alive r1) && !(alive r2)
Title: Re:failing a mission when guys die
Post by: LCD on 11 Jul 2003, 11:44:15
just remembered somin ;)

make sure u dont have 2 end2 type trigers :P

use difrent ends ;)

LCD OUT