Hi, this might be a dumb question, but I have searched everywhere and could'nt find a satisfying result. I would like my battlers(player only) to stay visible when killed, maybe replaced with an alternative picture. I tried SephirothSpawn's scripts, but they applied to the enemy too, and I could'nt find out how to correct this. Any help would be greatly appreciated, thanks.
Edit:
I actually almost have it working. Right now, the player's battler stays on screen, with this slight modification to the original script. All I would need now is a way to include the change to a battler_dead picture.
Edit:
I actually almost have it working. Right now, the player's battler stays on screen, with this slight modification to the original script. All I would need now is a way to include the change to a battler_dead picture.
Code:
class RPG::Sprite
alias_method :seph_dontcollapsebattler_rpgsprite_collapse, :collapse
def collapse
if @battler.is_a?(Game_Actor) && @battler_visible && @battler != nil
return
end
seph_dontcollapsebattler_rpgsprite_collapse
end
end
class Sprite_Battler
alias_method :seph_dontcollaspebattler_spritecharacter_update, :update
def update
collapses = @battler != nil && @battler_visible && @battler.damage == nil and @battler.dead?
seph_dontcollaspebattler_spritecharacter_update
if collapses
@battler_visible = true
end
end
end