I'm using this script: http://forums.rpgmakerweb.com/index.php?/topic/3358-viewed-battle-system/
in my game but I can't get the sprites to change when the characters die. The script says this:
# These are state-based sprite changes. If the actor has one of these states
# then the game will search for a sprite of the character's regular sprite
# name with the special state tag appended to it. So if Jimmy's sprite
# name was $Jimmy, and he had poison inflcted on him, and poison's id was
# listed here as ["_poison", 0], it would change Jimmy's in-battle sprite
# to $Jimmy_poison at the first sprite index.
STATE_SPRITES = {
and this is what I've done:
1 => ["_death", 0],
2 => ["", 0]
but it doesn't work. Can anyone help me and tell me what I' doing wrong.
in my game but I can't get the sprites to change when the characters die. The script says this:
# These are state-based sprite changes. If the actor has one of these states
# then the game will search for a sprite of the character's regular sprite
# name with the special state tag appended to it. So if Jimmy's sprite
# name was $Jimmy, and he had poison inflcted on him, and poison's id was
# listed here as ["_poison", 0], it would change Jimmy's in-battle sprite
# to $Jimmy_poison at the first sprite index.
STATE_SPRITES = {
and this is what I've done:
1 => ["_death", 0],
2 => ["", 0]
but it doesn't work. Can anyone help me and tell me what I' doing wrong.