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.
copy pasted the ref from another post in the forum so if you need more info do a forum search.
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.
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?
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.
Go to the upgrades tab in the data editor, make a new upgrade, open the Effects+ Field (I think thats what its called...), right click and press "Add new", then use the dropdown menus to get to what you want. All fields that show up in that window can be modified using catalogs
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a known way to reference some kind of data (like a global or a local variable) inside tooltip that we can change through triggers?
@YLM: what my little file says:
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.
copy pasted the ref from another post in the forum so if you need more info do a forum search.
@YLM: Go
Nope, you need to do something like 'Convert integer to Text' every time you need update
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.
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.
@Kueken531: Go
Oh. How do I know which field can and can't be changed? Trial and error, or there is a pattern?
@YLM: Go
Go to the upgrades tab in the data editor, make a new upgrade, open the Effects+ Field (I think thats what its called...), right click and press "Add new", then use the dropdown menus to get to what you want. All fields that show up in that window can be modified using catalogs