a ondeath function for player

We've got to make this game as cool as possible! If you have an idea of how it could be better, say it already!!

a ondeath function for player

Postby mariofan2014 » Tue Apr 21, 2015 2:21 am

you know a trigger for if player dies. like a way to change hp length (if this happens)
well either way you can change music or sound when he dies.
mariofan2014
 
Posts: 26
Joined: Fri Apr 10, 2015 2:05 am

Re: a ondeath function for player

Postby npromin1 » Sun May 01, 2016 10:36 pm

This would be very useful so that the player can skip cutscenes/cinematics that they've already seen. Every time I respawn on my levels, I have to read through screen text and dialogue over and over again.
npromin1
 
Posts: 6
Joined: Sun Mar 27, 2016 12:14 am
Location: With my harem of mindless female slaves

Re: a ondeath function for player

Postby Supershroom » Mon May 02, 2016 7:00 am

For not going through certain cutscenes again, you can use variables with the "s_" prefix; these variables are global and keep their values when you die (all others are reset to 0). However, the music will always be reset to the default track (chosen from the Course Properties window), so you should put "Set Music" triggers at respawn points if necessary.
User avatar
Supershroom
 
Posts: 173
Joined: Sat May 30, 2015 7:41 pm
Location: Germany


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron