I have a shop that can "mark" a unit (like Warcraft 3 shops) to sell him ability charges (torches, potions, etc.).
The button is disabled if there's no marked hero nearby, but I'd like it to be also disabled if the marked target has maximum charges, to avoid spending money into nothing.
Is there any way to do that ?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a shop that can "mark" a unit (like Warcraft 3 shops) to sell him ability charges (torches, potions, etc.).
The button is disabled if there's no marked hero nearby, but I'd like it to be also disabled if the marked target has maximum charges, to avoid spending money into nothing.
Is there any way to do that ?