Lawrence 0 Report post Posted August 21, 2014 Hi everyone, I modified the scene_item in order to equip/unequip weapons from there. The part for equip or unequip a thing is this: unless $itemselected.id == target.weapon_id target.equip(0, $itemselected.id) else target.equip(0, 0) end That works for one character, but how do I check if the weapon is equipped by another character (not the target) ? Can you help me? Thanks. Share this post Link to post Share on other sites
0 Lawrence 0 Report post Posted August 21, 2014 (edited) Well... Damn. Just discovered that If I equip an item it disappears from the list... Great. More things to fix! Edited August 21, 2014 by Lawrence Share this post Link to post Share on other sites
Hi everyone, I modified the scene_item in order to equip/unequip weapons from there. The part for equip or unequip a thing is this:
That works for one character, but how do I check if the weapon is equipped by another character (not the target) ?
Can you help me? Thanks.
Share this post
Link to post
Share on other sites