- Joined
- Aug 18, 2009
- Messages
- 4,097
Hi,
My map features magical scroll items that host an ability each. These abilities are not directly registered on the items as you know it from normal wc3 but you can activate an item at a time (left-click) in order to transfer its associated ability to the unit's command card. Pressing another item will switch the displayed ability then.
For convenience, as this is only local player input-relevant, I would like to allow the player to do this even when the unit is stunned/silenced/disabled. There are a few abilities I have found that do not get casted but which trigger an early order event if you click them during stun, Defend from Footman or Call to Arms from the human Town Hall for example. However, those abilities cannot be added to items. When I do this and the unit picks up the item, the ability gets transfered to the unit's command card right away and clicking the item won't have an effect anymore.
So does anyone know a good ability or another way to fix this?
My map features magical scroll items that host an ability each. These abilities are not directly registered on the items as you know it from normal wc3 but you can activate an item at a time (left-click) in order to transfer its associated ability to the unit's command card. Pressing another item will switch the displayed ability then.
For convenience, as this is only local player input-relevant, I would like to allow the player to do this even when the unit is stunned/silenced/disabled. There are a few abilities I have found that do not get casted but which trigger an early order event if you click them during stun, Defend from Footman or Call to Arms from the human Town Hall for example. However, those abilities cannot be added to items. When I do this and the unit picks up the item, the ability gets transfered to the unit's command card right away and clicking the item won't have an effect anymore.
So does anyone know a good ability or another way to fix this?