RPG Maker Forums

I cannot for reason check if my actor has anything equipped. This should be easy, but it just won't work. Not with a script call, not with anything.

I have looked help from this topic and from Conditional Branch+
https://forums.rpgmakerweb.com/index.php?threads/check-if-actor-has-equipment-type-equipped.103836/

Conditional Branch+ worked with weapons, but not with armor

I very much wish to have it as a script call, as I have plenty of actors in the game. Using variable in line where the actor id is placed is must.

I have tried a script call like this:

$gameActors.actor($gameVariables.value(57)).equips()[2] == 14;

$gameVariables.value(57) = variable that constantly checks who is party leader
equips()[2] = should be equipment type 2 (head)
14 = should be the id of the armor

But does not work.

What am I missing...? I have no scripts on when testing (only Conditional Branch+)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top