S
SusiKette
Guest
I'm using the visible variable to make the player invisible if they die until they respawn, but the built in visible variable is not working in this specific occasion. It works just fine when I'm making the player blink when their iframes are running. Anyone know why this is not working in this particular situation?
Code:
if(p_alive == 1 && player_iframe == 0) {
p_lives--;
with(obj_player) {
p_alive = 0;
audio_play_sound(se_explosion_big,70,0);
player_death_timer = 120;
obj_player.visible = false;
player_death_x = player_x;
player_death_y = player_y;
}
}