Help With Conditional Branch That Checks Armor

Hi. I'm trying to make a script call to check if an actor (ID connected to Variable 5, since I want it to be multiple possible actors) has any body armor equipped. I don't know if it can be that simple, or if I have to brute force it.

I've been stuck for hours trying to research script calls and conditional branches, and (assuming I would need to set it to every body armor) this was the furthest I've gotten so far. (Actor 1 had Armor 7 equipped)
1727136328908.png

1727136351994.png

Help would be super appreciated.
you created a double conditional branch by placing the if command into the scriptline despite the conditional branch already being a conditional question.

so either you need to complete the if inside the script box, or remove the if and allow the event command to handle the result.

the error basically tells you theat the if command is incomplete and needs to be completed
You should also be able to just use
$game_actors[$game_variables[5]].equips.include?($data_armors[7])
or for all actors
$game_party.members_equip_include?($data_armors[7])
You should also be able to just use
$game_actors[$game_variables[5]].equips.include?($data_armors[7])
or for all actors
$game_party.members_equip_include?($data_armors[7])
This worked. Thank you so much. Feel free to close the thread.
Feel free to close the thread.
If you want to close the thread you report you first post and say issue solved please close. and the mods will close it.
This thread is closed due to being indicated as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-conditional-branch-that-checks-armor.172111/