• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Non static Tooltips?

Status
Not open for further replies.
I'd like to have a variable inside of my tooltips, but to do that i'd have to change a StringExternal or use catalog value field set creatively, anyone know how to do something like this?

Example:

Drone. 100 income.

I'm trying something like:
Catalog - Set value of Buttons (String(UnitTypes[Loop])) "Tooltip" for player 1 to ((Value of Buttons "Tooltip" (String(UnitTypes[Loop])) for player 1) + (" " + ((String(IncomeForEachUnit_LV[Loop])) + " Income.")))

PS: All my buttons have the same ids as the units so this should still work.
 
To my knowledge of the GE this isn't possible, but then again my knowledge isn't that vast.
If you do figure that out, please let me know :)
But if I were to do that right now, I would have the say the best way of doing it would be to edit something other than a button (example being a pop-up display that shows how much the unit currently costs on some custom UI or using text message triggers).
 
Status
Not open for further replies.
Top