OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SpecOps on 11 Jan 2003, 20:39:15

Title: Question
Post by: SpecOps on 11 Jan 2003, 20:39:15
How do i do that when a certain man (or any unit) dies, something happens
Example:
Say i have an eastern base that i am attacking with a western unit.
What i want to do is : when the "Eastern leader" dies, the mission is ended?

Thanks.
IDForever.
Title: Re:Question
Post by: dmakatra on 11 Jan 2003, 21:38:10
just put

NOT(alive NameOfTheOneWhoAreGoingToDie)

in the condition field, and the trigger is activated.

(ThereÂ's been a lot of topics in this subject only the last few days, maybe we should do a sticky of often asked Qs)
Title: Re:Question
Post by: KTottE on 11 Jan 2003, 21:50:58
Nope, we've already got the Editors Depot (http://www.ofpec.com/editors/index.php) for that ;)
Title: Re:Question
Post by: SpecOps on 11 Jan 2003, 23:58:49
thanks! :)