Hello, I found the following line to check for the weapon type currently equipped by the actor:
$gameActors.actor(1)._equips[0].itemId() == 2
Can someone explain me how this works? I can't get it to work in a conditional branch as a script.
I reckon actor is the character, and starts from 0 or 1?
Equips[0] stands for weapons, I reckon? (and allows to set shield, head, body, accessoires)
ItemID is the weapon type ID? Does it start from 0 or 1?
Thank you in advance.
$gameActors.actor(1)._equips[0].itemId() == 2
Can someone explain me how this works? I can't get it to work in a conditional branch as a script.
I reckon actor is the character, and starts from 0 or 1?
Equips[0] stands for weapons, I reckon? (and allows to set shield, head, body, accessoires)
ItemID is the weapon type ID? Does it start from 0 or 1?
Thank you in advance.