I'm making a character who is meant to fight with improvised weapons, represented in-game by having a skill that gives you a weapon when you use it in battle (using Common Eventing). However, using Change Equipment to swap the actor's weapon does nothing. I've tried doing it with a script, and it still doesn't seem to actually give you a weapon. Is there any good way to do this?
It goes through the checks and displays the message associated with the common event but the equipment does not actually change.
It goes through the checks and displays the message associated with the common event but the equipment does not actually change.
Control Variables: #0017 Pick up Weapon = Random 0..3
If: Pick up Weapon < 1
Script: $gameActors.actor(2).changeEquip(0, $dataWeapons[12])
Text: "Picked up a broom!
Else
If: Picked up Weapon > 2
Script: $gameActors.actor(2).changeEquip(0, $dataWeapons[14])
Text: "Picked up a table!"
Else
Script: $gameActors.actor(2).changeEquip(0, $dataWeapons[13])
Text: "Picked up a chair!"