How do I make the game end like what happens when you enter the Heretic gate?
Basically, what I want is:
-You complete the final mission
-Dock back at station X
-Admiral Decker congratulates you...
-At the final pane, you click 'Continue' and the game ends.
End game
- Xephyr
- Militia Captain
- Posts: 857
- Joined: Fri Dec 14, 2007 1:52 am
- Location: Orion Arm, Milky Way
- Contact:
In Eternity Port, this is how its handled:
This is sort of adventure-specific. You need to define the flag in <OnGameEnd> for it to work, I think. Doing it this way also lets you set different backgrounds based on the end game reason.
Another way to do it is to just destroy the player:
This is a bit less graceful but still works.
You should be able to put either of these in-line in a dockscreen pane.
Code: Select all
(gamEnd 'inEternityPort "joined the denizens of Eternity Port")
Another way to do it is to just destroy the player:
Code: Select all
(plyDestroyed gPlayer "End Game Reason")
You should be able to put either of these in-line in a dockscreen pane.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
Real programmers count from 0. And sometimes I do, too.
Real programmers count from 0. And sometimes I do, too.