- Joined
- Aug 22, 2021
- Messages
- 14
- Reaction score
- 5
- First Language
- English
- Primarily Uses
- RMMV
I want to give the Player Character an option to "trip" an NPC. The way I figured it is I make the Actor move aside, move the other character down, play a "walk" animation to make the PC look like they're sticking their foot out, then replace the 2nd characters' graphic with a "fallen down" image, complete with sound effect.
However, I've hit a snag. The 2nd character won't move down past the PC once they've stepped aside. I've attached the relevant code snippet; what am I doing wrong?
As an aside, how can I make the "walk" animation only happen once, instead of looping? I've taken it out of the example I'm attaching because I thought that was soft-locking the event, but, nope. Still not doing anything.
Edit: updated title to say "solved"
However, I've hit a snag. The 2nd character won't move down past the PC once they've stepped aside. I've attached the relevant code snippet; what am I doing wrong?
As an aside, how can I make the "walk" animation only happen once, instead of looping? I've taken it out of the example I'm attaching because I thought that was soft-locking the event, but, nope. Still not doing anything.
Edit: updated title to say "solved"
Attachments
Last edited: