- Joined
- Jul 14, 2011
- Messages
- 3,213
Hi!
In the RPG i'm making, when a hero dies, it's revived inmediatly and all skills (even Attack) are disabled for owner of the dying unit. Also the 'Inventory (Hero) ability' is disabled.
When a hero reaches a revival point, the whole process is reversed. Everything is OK, except for the inventory. When the inventory ability is re-enabled all the items the hero had on it's inventory are dropped around.
I'd like to know how to avoid that... so the hero has it's item on the inventory when the Inventory ability is enabled again.
In the RPG i'm making, when a hero dies, it's revived inmediatly and all skills (even Attack) are disabled for owner of the dying unit. Also the 'Inventory (Hero) ability' is disabled.
When a hero reaches a revival point, the whole process is reversed. Everything is OK, except for the inventory. When the inventory ability is re-enabled all the items the hero had on it's inventory are dropped around.
I'd like to know how to avoid that... so the hero has it's item on the inventory when the Inventory ability is enabled again.