PR0JAX Posted June 12, 2015 Share Posted June 12, 2015 (edited) I have a terminal in a quest mod of mine with a playable text-based game on it just as a little easter egg to players. It's something similar to the classic Zork (if you are unfamiliar, I highly recommend a play). Currently, the game works and even awards players a small amount of XP when they finish it.I'm running into a problem, though. If players choose an answer that should result in a 'game over', there is nothing preventing them from just going back and redoing the part where they left off. I want a game over message to be shown for a few seconds and then kicking the player off the terminal so they have to start over from the begining. Any ideas for result scripts that can make a more forceful game over screen? One that players can't 'cheat' out of? Thanks in advance! ~PR0JAX Edited June 13, 2015 by PR0JAX Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted June 13, 2015 Share Posted June 13, 2015 There's a couple of ways you could do it.ForceTerminalBack will send the terminal back one page. You could put about 30 of them in a result script to force it back all the wayNVSE's Con_CloseAllMenus replicates the console command and will close all active menus, dumping the player out of the terminal immediately. Requires NVSE though, obviously.If you want the message to be visible for a moment, you'll probably need to toggle a quest variable to start a timer for a few seconds in the appropriate menu mode to wait and then close it. Link to comment Share on other sites More sharing options...
PR0JAX Posted June 13, 2015 Author Share Posted June 13, 2015 There's a couple of ways you could do it.ForceTerminalBack will send the terminal back one page. You could put about 30 of them in a result script to force it back all the wayNVSE's Con_CloseAllMenus replicates the console command and will close all active menus, dumping the player out of the terminal immediately. Requires NVSE though, obviously.If you want the message to be visible for a moment, you'll probably need to toggle a quest variable to start a timer for a few seconds in the appropriate menu mode to wait and then close it. Wasn't even aware of the ForceTerminalBack function. That's pretty useful to know! And yeah, if possible I want to have a game over message show first. Maybe have the player's controls lock for the duration and such, so they get a chance to read it before they're kicked. Thanks for the tip! Link to comment Share on other sites More sharing options...
Recommended Posts