Because there are many questions about How To Make A Mission End, I made this topic.
OK, let`s begin.
This is just a little topic about ending missions, it are only the basics.
You can do everything with it.
Ok, in this tut. you have to kill an officer, end then you have won.
If you die, you have lost.
The only thing you have to do, is making yourself, an officer and 2 triggers.
Ok, place yourself and give him the name "player" (without quotes).
Then you have to place an officer from the enemy side, give him the name "officer" (again without quotes".
Then make the first trigger, give it the following options:
Trigger 1:
Text: youwin
Axis a: 0
Axis b: 0
Activation: Once, Countdown
Min: 5
Max: 5
Mid: 5
Type: End #1
Condition: NOT(alive officer)
On activation: forceEnd
Then make the second trigger.
Trigger 2:
Text: youloose
Axis a: 0
Axis b: 0
Activation: Once, Countdown
Min: 5
Max: 5
Mid: 5
Type: Loose
Condition: NOT(alive player)
On activation: forceEnd
Ok, try the mission now, kill the officer and you won.
Kill yourself, and you loose.
And you see that there are 5 seconds delay from when you kill the officer till the end.
Ok, now make a briefing.html and you know that you have won or loose.
And try something else.
Bye!