- Joined
- Nov 17, 2018
- Messages
- 3
- Reaction score
- 1
- First Language
- Norwegian
- Primarily Uses
- RMMV
Hello.
Is there a simple way to change actor sprite when changing armor? I prefer doing it through a common event, but armors do not have the option to run a common event.
On my last try, I set a common event to:
*Conditional branch - if actor Harold has leather armor equipped:
**Change actor image - I pick the leather armor sprite from my custom Sprite sheet
*Else:
**Change actor image - I pick the no armor sprite from my custom Sprite sheet
I have another common event set for Iron armor.
*Conditional branch - if actor Harold has iron armor equipped:
**Change actor image - I pick the Iron armor sprite from my custom Sprite sheet
*Else:
**Change actor image - I pick the no armor sprite from my custom Sprite sheet
One works but not the other. If I change to Iron armor, the actor sprite also changes to wearing iron armour. But when changing to leather armor, character sprite remains with no armor. So annoying, when it should so simple.
I have tried running the common events through a parallell process, triggered by leather or Iron armor, but I end up with the same problem.
Both armors are set to "general armor" and I have checked the class of the actor to be able to use the armor type.
All armors are drawn on the character in the same sprite sheet. That can't be the problem since it works for one but not the other?!
Writing this on mobile, so I have No screens at the moment, but I will post some if needed.
Thanks.
Is there a simple way to change actor sprite when changing armor? I prefer doing it through a common event, but armors do not have the option to run a common event.
On my last try, I set a common event to:
*Conditional branch - if actor Harold has leather armor equipped:
**Change actor image - I pick the leather armor sprite from my custom Sprite sheet
*Else:
**Change actor image - I pick the no armor sprite from my custom Sprite sheet
I have another common event set for Iron armor.
*Conditional branch - if actor Harold has iron armor equipped:
**Change actor image - I pick the Iron armor sprite from my custom Sprite sheet
*Else:
**Change actor image - I pick the no armor sprite from my custom Sprite sheet
One works but not the other. If I change to Iron armor, the actor sprite also changes to wearing iron armour. But when changing to leather armor, character sprite remains with no armor. So annoying, when it should so simple.
I have tried running the common events through a parallell process, triggered by leather or Iron armor, but I end up with the same problem.
Both armors are set to "general armor" and I have checked the class of the actor to be able to use the armor type.
All armors are drawn on the character in the same sprite sheet. That can't be the problem since it works for one but not the other?!
Writing this on mobile, so I have No screens at the moment, but I will post some if needed.
Thanks.
Last edited:
