- Joined
- May 29, 2017
- Messages
- 162
- Reaction score
- 34
- First Language
- English
- Primarily Uses
- RMMZ
As the title says, I'm trying to figure out and see how to check if an actor has an equipment type equipped. I've been using the script call
but either I'm not using it right or it's not what i'm looking for. The actual code I'm using in my conditional branch is
"2" is the equipment type and "14" is the armor type. I don't really need to check the equipment type, the armor type is what's important.
Code:
$gameActors.actor(actor_id).equips()[slot_id] == null;
Code:
$gameActors.actor(1).equips()[2] == 14;