View previous topic :: View next topic |
Author |
Message |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
Posted: Mon Jan 21, 2008 7:35 am Post subject: dying in battle |
|
|
How do I make it so you won't do gameover when you die? |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Mon Jan 21, 2008 7:40 am Post subject: |
|
|
First of all, you have to know what you want to happen instead, and write a plotscript that will do what you want. Then in order to make this plotscript override a game-over, just set it as the "game-over script" in custom (this is found in General Game Data, Special Plotscripts).
This will make your new plotscript ALWAYS occur when the player dies. If you want this plotscript to occur only sometimes (and game-over other times), then we need to do a little more work. Let us know. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
Posted: Mon Jan 21, 2008 7:47 am Post subject: |
|
|
I'm just trying to make a super hard boss that's undefeatable and you keep playing after you lose. I just want some answers |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Mon Jan 21, 2008 8:03 am Post subject: |
|
|
Isn't there a wiki page specifically for this?
Anyway, for this you will need to have a plotscript right before the battle that uses the following command:
Code: | set death script (@my script) |
The "my script" is the name of the script that says what to do instead of dying. The "@" in front tells the computer that it is a script (at least I believe you can do this this way, although it is not documented on the plotdictionary). Then after the battle is over, you should probably have the line:
by itself, with no parentheses. This tells the computer to make gameovers occur when you die again.
By the way, if you plan on letting the player keep playing after this death, don't forget to give him some HP back in the plotscript! _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
|
Back to top |
|
 |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
Posted: Mon Jan 21, 2008 8:44 am Post subject: |
|
|
W8! OMG TY! |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
|
Back to top |
|
 |
|