- Joined
- Feb 2, 2006
- Messages
- 1,631
Hi,
at the moment I am trying to clear and store the a unit's inventory BEFORE it is morphed and to restore it AFTER it has been unmorphed.
I tried EVENT_UNIT_SPELL_CHANNEL and EVENT_UNIT_SPELL_ENDCAST but it is rather complicated to know when the unit is morphed.
Is there any better way to observe the unit's behaviour? For example using order id's or anything else. Does any library already exist like "MorphUtils" which covers those problems?
at the moment I am trying to clear and store the a unit's inventory BEFORE it is morphed and to restore it AFTER it has been unmorphed.
I tried EVENT_UNIT_SPELL_CHANNEL and EVENT_UNIT_SPELL_ENDCAST but it is rather complicated to know when the unit is morphed.
Is there any better way to observe the unit's behaviour? For example using order id's or anything else. Does any library already exist like "MorphUtils" which covers those problems?