OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Taggart on 22 Jun 2004, 00:34:58
-
I need help to ensure the primary objective is achieved before the mission ends. I have the main rescue group "grp1" and a downed pilot "p1". I have a "join" for p1 and "join and lead" for grp1 and set "1" objstatus "Done" and also set condition for "1" objstatus "Fail" if p1 not alive. I have a general trigger to end the mission once all East units are eliminated and condition p1 still alive. The mission, however, is ending as soon as the East units are no more and p1 is still alive but not yet rescued. :-\ Is there a condition I can set to ensure p1 is part of grp1, i.e. that the rescue has occured ???
Thanks as ever in advance. :)
-
hi
if its a trigger or a waypoint your using to group the pilot then you could do this
on the trigger or waypoint on activation put:
rescued=true
and now on what ever you have to trigger the ending put this into the condition:
rescued
hope this helps
Cheers, Philly
-
Thanks for response. Yes I ended up using that exact same method, works like a charm. ;D