OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Blacknite on 01 Sep 2008, 22:32:45

Title: Mission ending when boarded (Solved)
Post by: Blacknite on 01 Sep 2008, 22:32:45
Tried Forceend, but it doesnt work?  So how do I end the mission when the player boards the chopper?

Or

How do I make the chopper wait till the player is boarded then it takes off.
Title: Re: Mission ending when boarded
Post by: Cheetah on 01 Sep 2008, 22:43:25
I often do the following, not sure if it is the best method, but it gets the job done.

If.. player IN helicopter.. (code required etc)    end = true;

Create a trigger condition: end
On Activation: forceEnd
Type: End #1

That's it for me. Sometimes it seems that End #1 doesn't work, while #2 does. You could try that in case this doesn't work.
Title: Re: Mission ending when boarded
Post by: Blacknite on 01 Sep 2008, 23:42:52
Im so stupid...  I forgot all about that "in" commands...  Thanks!