I'm trying to use scripting to have the hero lose their weapon but it doesn't seem to work at all. The script looks like this:
unequip item (0, slot:weapon)
delete item (1, 1)
But the item is still in the weapon slot. Any help would be appreciated.
Hero won't unequip weapon
Moderators: marionline, SDHawk
Yes, when there's no weapon equipped, the hero's Default Weapon is shown in the Weapon slot instead. You can't unequip it as it doesn't actually exist. Create a weapon called Unarmed or None and set it as the default.
Strangely, I see that if a non-weapon is set as the Default Weapon, then the hero's default attack is some garbage value (very likely attack 0).
Now that the hero battle menus are flexible and customisable, this requirement to always have a weapon could be removed, I guess.
Strangely, I see that if a non-weapon is set as the Default Weapon, then the hero's default attack is some garbage value (very likely attack 0).
Now that the hero battle menus are flexible and customisable, this requirement to always have a weapon could be removed, I guess.
Last edited by TMC on Sun Jul 02, 2017 12:13 am, edited 1 time in total.