- Joined
- Feb 16, 2016
- Messages
- 355
- Reaction score
- 245
- First Language
- Finnish
- Primarily Uses
- N/A
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+)
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+)