Thanks. Catalog trigger look like something I could use. Are there any limitations, like tooltip text not refreshing or custom abilities can't be cataloged?
Limitations would be that not all data fields can be changed via catalog and it is player-based, so you cannot display different numbers for the same tooltip on 2 different units of the same player.
sc2 tooltip reference linked to ability effect <d ref="Effect,KaboomDamage,Amount"/>
-> change kaboomdamage to whatever dummy-effect you like.
-> Just set the catalog field value of Effect,KaboomDamage,Amount to be whatever the variable is you would like to display - done.
This would be the way to go, but only works on a per-player basis. If you need different tooltips for the same unit type, you are out of luck. There might be possible workarounds, but everything I can think of right now would not be truely dynamical and/or way too much work.
Nope, you need to do something like 'Convert integer to Text' every time you need update
I think, he is referring to a button tooltip in data, not a trigger text. If you mean the same thing, you probably want to change the text via Catalog triggers, so the same restrictions apply.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Limitations would be that not all data fields can be changed via catalog and it is player-based, so you cannot display different numbers for the same tooltip on 2 different units of the same player.
This would be the way to go, but only works on a per-player basis. If you need different tooltips for the same unit type, you are out of luck. There might be possible workarounds, but everything I can think of right now would not be truely dynamical and/or way too much work.
I think, he is referring to a button tooltip in data, not a trigger text. If you mean the same thing, you probably want to change the text via Catalog triggers, so the same restrictions apply.