- Joined
- Mar 9, 2018
- Messages
- 7
- Reaction score
- 1
- First Language
- Spanish
- Primarily Uses
- RMMV
Hello guys!
I'm working in rmmv and I managed to make the actor to be able to sit on the floor when hitting a key. I did it by using yanfly's button common events, and assigning a key to a common event in which the actor sprite changes to a sprite of him sitting, and another one that changes it back to the sprite of the actor standing. It worked fine, but here's the problem:
My actor changes sprites at various points of the game. I made sitting graphics for each different sprite and what i'm trying to do is that when the actor has x sprite, it changes to it's corresponding sitting graphic. So yeah, my question is if there is a way to use a conditional branch that checks which image the actor currently has, probably via script call?. I hope I'm making sense ^^;
Also just in case, I'm a noob so I apologize if I posted this in the wrong forum
I'm working in rmmv and I managed to make the actor to be able to sit on the floor when hitting a key. I did it by using yanfly's button common events, and assigning a key to a common event in which the actor sprite changes to a sprite of him sitting, and another one that changes it back to the sprite of the actor standing. It worked fine, but here's the problem:
My actor changes sprites at various points of the game. I made sitting graphics for each different sprite and what i'm trying to do is that when the actor has x sprite, it changes to it's corresponding sitting graphic. So yeah, my question is if there is a way to use a conditional branch that checks which image the actor currently has, probably via script call?. I hope I'm making sense ^^;
Also just in case, I'm a noob so I apologize if I posted this in the wrong forum

