It's easy to check whether the player has a certain armor equipped with a conditional branch. However, I would need to know how to set it to check whether the player is not equipping a specific armor/ item/ weapon. Like: Conditional branch: Plate Mail is not equipped, would produce a different result altogether in some instance than if it was equipped.
Conditional Branch: Armor NOT Equipped
RPG Maker VXAce SupportJust use the 'else' statement which you can check on as you create the conditional branch. 🙂
You can also do a conditional branch with the following script call:
Replace ACTOR with the number of the actor and ARMOR with the number of the armour. The ! at the start means 'not', so basically it's asking if the actor does not have that certain armour equipped.
Code:
!$game_actors[ACTOR].armors.include?($data_armors[ARMOR])
Replace ACTOR with the number of the actor and ARMOR with the number of the armour. The ! at the start means 'not', so basically it's asking if the actor does not have that certain armour equipped.
Yeah, I was really tired yesterday to the point where I suddenly lost the ability to think. So, this question can be marked as solved : -D
When you want a thread closed just Report your opening post and ask for it to be closed. Mods might not see a post but they will see a Report.
Thread closed IgnoreMe
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-armor-not-equipped.94425/