OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: armymanbronson on 23 Aug 2002, 15:36:24

Title: dead targets
Post by: armymanbronson on 23 Aug 2002, 15:36:24
hi guys sorry to be a pain but, i got the target e for the ai and they shoot at it, but i want to make a trigger when all the targets are not present the mission ends, so i make this trigger but the mission ends straight away. how can i make the trigger activate when all the targets are dead?. thanks
brons :-[
Title: Re:dead targets
Post by: T.S.C.Plage on 23 Aug 2002, 16:33:26
Trigger:

Size = 0
Type = End1
Condition = (write) not alive unit1 and not alive unit2 and...


That should end the mission if all named targets (here unit1 and unit2) are dead.

Greetz
Plage
Title: Re:dead targets
Post by: Artak on 28 Aug 2002, 20:09:20
Well that should do it..  :D

And armymanbronson, never mind, we all forget to solve our topics from time to time  ::) ;)