Jump to content

For those who want to unequip items in slots


Recommended Posts

It's possible to manipulate a creature's inventory in EE, including armor in combat, from the script of a summoned minion. Unequipping an item would take the name of the item to be moved off the paperdoll, it is too specific. You can, however, free up a slot by equipping a non-existing item there. For this the script should have commands such as:

XEquipItem("",LastSummonerOf,SLOT_WEAPON0,EQUIP)

or

XEquipItem("",LastSummonerOf,SLOT_ARMOR,EQUIP)

What's great about this is that there does not have to be a real item to put in the slot, not even a dud item. An open slot in the backpack makes a difference, though. If there is one, the item to be taken off the figure, weapon or armor in this case, will be dropped there. If the backpack is all taken up, the item will remain in the slot but be considered unequipped. It stops applying its effects, but the avatar change from "Item appearance" remains. Also, since this is done by a minion and without ActionOverride, the dressing-undressing does not interrupt the character's acting or walking.

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...