Just wondering is there anyway to get this code to return the item to the affected characters inventory instead of being deleted?Komag wrote:Steal an item being held or equiped by a party member
(such as removing the torch from Contar Stoneskull's left hand)
example from petri:
Assuming Contar is the first champion in the party:
7 is the slot number of the left hand, defined in Champion:insertItem()'s documentation.Code: Select all
party:getChampion(1):removeItem(7)
I plan to use it so that characters can carry torches in their packs and place them, but not carry them in hand so as to avoid the player breaking lighting atmosphere.
Or do I need to use a different type of script?