- Joined
- Mar 27, 2008
- Messages
- 8,035
How to actually replace (basically, I remove the item and create a new one) an item in the exact same slot after it was created ?
Situation:
I used an ability (via Item) and when it detects, it changes that item (Item A) to new item (Item B) and I want Item B to be moved in the exact location as Item A position in the inventory.
Basically I found this function:
Is there any function that GetLastRemovedItemSlot or something ?
EDIT:
This system is meant for more than 1 items on a single unit.
Meaning that a unit can possess Item A more than 1.
Situation:
I used an ability (via Item) and when it detects, it changes that item (Item A) to new item (Item B) and I want Item B to be moved in the exact location as Item A position in the inventory.
Basically I found this function:
-
Unit - Order (Triggering unit) to move (Last created item) to inventory slot 1
Is there any function that GetLastRemovedItemSlot or something ?
EDIT:
This system is meant for more than 1 items on a single unit.
Meaning that a unit can possess Item A more than 1.