I want a refund ability, that shows the units costs, as the bunker's salvage does. However, since I want to give it to different units that have different costs, the displayed text should change like: +100 Minerals, +75 Minerals, ... . So far I have only been able to find static texts (as in the case of the bunker salvage.) Is it possible to have a variable text displayed using the actor or do I have to create different actors and reassign actors, every time I change a units cost?
That are 283 characters and in game some characters (" height="28" width="28"/>") get truncated. (That is the last icon isn't shown properly). Is there anything I can do?
Hi,
I want a refund ability, that shows the units costs, as the bunker's salvage does. However, since I want to give it to different units that have different costs, the displayed text should change like: +100 Minerals, +75 Minerals, ... . So far I have only been able to find static texts (as in the case of the bunker salvage.) Is it possible to have a variable text displayed using the actor or do I have to create different actors and reassign actors, every time I change a units cost?
Thank you for your consideration.
There was a tutorial on this site somewhere about using reference fields. Has to do with the raw data values of the field you want to show.
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
Thank you for that great advice.
My text should show something like "125 [Mineral Icon] 50 [Gas Icon]", I worked it out as:
That are 283 characters and in game some characters (" height="28" width="28"/>") get truncated. (That is the last icon isn't shown properly). Is there anything I can do?
Thank you for your help.
bump