So a internet friend of mine wants to make a horror game where you only have 20 lives to beat the game.
So I was wondering if there was any plugin/scripting technique that I could use to make it so that if a game over is triggered it removes one life.
And if all 20 lives are gone you can't play the game any more, Oneshot style.
Moved to: Plugin Requests
Just to make sure it is clear are you saying that once the 20 lives are used up the player can't restart the game ever again?
Because I can think of ways to do the 20 lives thing without a plugin or scripting using just Eventing.
But making it so the game can never be played again by that player...not so much.
It's pretty simple to use event commands to set a variable to 20; decrement it whenever something happens that you deem costs a life; and every time it decrements, do a conditional branch and if it's at 0 you use the Game Over event command.
The only part of it that requires a plugin is the not being able to continue the game.
Do a Google for plugins that add autosave, and those should provide the script call or plugin command for deleting the autosave file also. Then you just disable the regular Save Game option from the menu.