Is there a way to make a Ver reset it's self.? I wanna make it so when HP reaches 0 it take's off 1 life, takes you home & put's hp back to 100. When all lives are gone the game would be over. but I don't know how.
Control Object-create event
global.playerhealth=100; global.playerlives=3; global.gamescore=0;
Player Object-Step event
if global.playerhealth<1
global.playerlives-=1
room_goto(yard)
I have no idea what to put to make the player health reset. I don't just wanna use Add 100 if I don't have to cause at higher level's I may want a higher max health.
Edit: right now it just keep's taking the lives off till you die since HP stay's @ 0
Edited by tari_minyatur_dw, 23 February 2012 - 09:08 PM.











