OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: insanesniper on 21 Aug 2002, 03:34:42

Title: ending mission when our team is dead...
Post by: insanesniper on 21 Aug 2002, 03:34:42
at the moment i end the mission when our team dies by using the not alive command in trigger,
eg,  not alive aa && not alive ab && not alive ac

this works fine.......but if there is only 2 people, and 'ac' is disabled......the trigger does not go off if aa & ab die......

how do i see if the ai has been disabled......and set my trigger accordingly?

the reason i cannot just use a big trigger 'when all west dead' is because there is a west ai chopper flying around.
Title: Re:ending mission when our team is dead...
Post by: insanesniper on 21 Aug 2002, 12:11:17
is there a way to use 'not alive' with a group....instead of unit? that way i could say 'not alive group1', and it wouldn't matter if some ai were disabled..would it?

i'm a bit stuck with defining groups......wish the ofpec was up, hard to find how to do things now, lol.


??? ??? ???
Title: Re:ending mission when our team is dead...
Post by: Pope_Zog on 21 Aug 2002, 17:12:46
Double post of the same question. All replies to this thread (http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=165).

Pope Zog