The first one is a bug in the current implementation of the default inventory UI, about the only thing you could do would be to recreate the inventory UI yourself or have triggers listen for keypresses and then check the selected unit's inventory for the associated item. Although I don't believe it's possible to check if the inventory panel is currently open or not via triggers, so even this workaround would have warts.
As for number two, I'm not sure it'll do this, but try checking the "Transient" flag in the ability or item.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The first one is a bug in the current implementation of the default inventory UI, about the only thing you could do would be to recreate the inventory UI yourself or have triggers listen for keypresses and then check the selected unit's inventory for the associated item. Although I don't believe it's possible to check if the inventory panel is currently open or not via triggers, so even this workaround would have warts.
As for number two, I'm not sure it'll do this, but try checking the "Transient" flag in the ability or item.