- May 29, 2017
- Reaction score
- First Language
- Primarily Uses
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 callbut 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.
$gameActors.actor(actor_id).equips()[slot_id] == null;
$gameActors.actor(1).equips() == 14;