Page 1 of 1
a ondeath function for player
Posted:
Tue Apr 21, 2015 2:21 am
by mariofan2014
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.
Re: a ondeath function for player
Posted:
Sun May 01, 2016 10:36 pm
by npromin1
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.
Re: a ondeath function for player
Posted:
Mon May 02, 2016 7:00 am
by Supershroom
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.