- Joined
- Jun 10, 2008
- Messages
- 1,399
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.
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.