Help with hero events?

Actually I have only one question related to hero events... How do you specify to go to a game over screen upon the players death?

And the other question is: How do I specify the players HP - I thought it might be stamina, but it's not?

------------------
Here's my site! There is art, music, movies, and games are on there way!
(url="http://"http://www.sinthesisent.com")http://www.sinthesisent.com(/url)

Quote

Originally posted by Klatu:
And the other question is: How do I specify the players HP - I thought it might be stamina, but it's not?

Stamina is the player's current hit points. Max Stamina is the hit points the player will have when he is fully healed.

You can adjust the player's stamina and max stamina through the use of the attribute wizard, or through the use of a spell's statistics screen.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Thanks Stark - that fixed that prob. The only thing that I find is happening is that the game crashes when the hero dies... anyone know why?

------------------
Here's my site! There is art, music, movies, and games are on there way!
(url="http://"http://www.sinthesisent.com")http://www.sinthesisent.com(/url)

Quote

Originally posted by Klatu:
Thanks Stark - that fixed that prob. The only thing that I find is happening is that the game crashes when the hero dies... anyone know why?

The game is infinitely sad that the hero won't save the day?
Maybe the forces of evil, left unchecked due to the hero's demise, destroyed the world?

Seriously though, there should be a layout screen for the hero's death. You probably need to have one available for your game to use for when the hero dies, which is then linked to return you to the main menu.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Which one is it though - I don't see anything that says hero death or gameover?

If you mean a location then how do I tell CS to link it to the players death?

I really appreciate the help!

------------------
Here's my site! There is art, music, movies, and games are on there way!
(url="http://"http://www.sinthesisent.com")http://www.sinthesisent.com(/url)

Quote

Originally posted by Klatu:
If you mean a location then how do I tell CS to link it to the players death?

I write plug-ins and have yet to decide that I want to build a standalone, so some of the things you need to do I've never needed to do.

Anyways, I did a bit of searching. Do you have an endgame event? This is what is called when the hero dies, I believe. In this event you can send the player to a location or whatever and when the event finishes the game will end.

Try playing with this event a bit.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Yeah, it looks like the EndGame event is what you need. It should be in your events folder, or else it sounds like you will need to create it.

Page 48 of the CGE manual has a limited listing of this event.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

I had just figured out that I was missing the endgame event right before reading your post - thanks for the help though!!

------------------
Here's my site! There is art, music, movies, and games are on there way!
(url="http://"http://www.sinthesisent.com")http://www.sinthesisent.com(/url)

Quote

Originally posted by Klatu:
I had just figured out that I was missing the endgame event right before reading your post

🙂

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Heh,

I had the same problem once (making a die screen) and I finally figured out to use the EndGame event. Unfortunately, it also shows the screen when the player quits the game. How should I fix this?
😕

------------------
[HardKOR
Games](http://www.evula.org/<br />
hardkor_games), my Coldstone
Game Site!

Look in the manual, you need to add a conditional to see if your player's stamina is <= 0.

------------------
Nothing is foolproof to a sufficiently talented fool.
"Logic is futile"-Scott Adams