Is it possible for a Button to show data about the unit that uses the Button? I would need it for supply icon, it would display how much supply does the unit provide, i could put it on Supply depos and Command Centers and other supply providers.
(I know it is possible to use the specific unit's supply, but im curius if there is a way to use 1 button for multiple units)
Is it possible for a Button to show data about the unit that uses the Button? I would need it for supply icon, it would display how much supply does the unit provide, i could put it on Supply depos and Command Centers and other supply providers.
(I know it is possible to use the specific unit's supply, but im curius if there is a way to use 1 button for multiple units)
I don't think so. Buttons always refer to a fixed type of information.
Thanks for the quick reaction. Thats kinda sad tho.
You can always use triggers to override the UI by hooking up the UI element and then changing the text.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)