Is it possible to have the dead, sleep and victory actor frames to only play once?
I know that editing the rpg_sprite.js file and turning the loop motion to false will have it play once but I'd like it to stay on the final frame. So if an actor is killed he will collapse and stay laying on the ground until ressed.
Editing sleep or dead to false will have the actor stand back up after the frames play.
I know that editing the rpg_sprite.js file and turning the loop motion to false will have it play once but I'd like it to stay on the final frame. So if an actor is killed he will collapse and stay laying on the ground until ressed.
Code:
Sprite_Actor.MOTIONS = {
walk: { index: 0, loop: true },
wait: { index: 1, loop: true },
chant: { index: 2, loop: true },
guard: { index: 3, loop: true },
damage: { index: 4, loop: false },
evade: { index: 5, loop: false },
thrust: { index: 6, loop: false },
swing: { index: 7, loop: false },
missile: { index: 8, loop: false },
skill: { index: 9, loop: false },
spell: { index: 10, loop: false },
item: { index: 11, loop: false },
escape: { index: 12, loop: true },
victory: { index: 13, loop: true },
dying: { index: 14, loop: true },
abnormal: { index: 15, loop: true },
sleep: { index: 16, loop: true },
dead: { index: 17, loop: true }
};