I'm just trying to set the tooltip for a dialog item to a value I've defined in the text editor, specifically it's sharing the tooltip with a button used for items. Getting the item/button out of the catalog entries in triggers all works fine, but for the tooltip field I get the string value "Button/Tooltip/TestItem1", which I then need to look up in the localised text table, that's the step I'm having trouble with - I'd assumed there would be a function that just does that lookup.
Am I missing something obvious here? entirely possible!
Take a look at the "Convert Game Text" function, taking a string and returning a text. The string is the path to the text ("Button/Tooltip/TestItem1").
I'm just trying to set the tooltip for a dialog item to a value I've defined in the text editor, specifically it's sharing the tooltip with a button used for items. Getting the item/button out of the catalog entries in triggers all works fine, but for the tooltip field I get the string value "Button/Tooltip/TestItem1", which I then need to look up in the localised text table, that's the step I'm having trouble with - I'd assumed there would be a function that just does that lookup.
Am I missing something obvious here? entirely possible!
Thanks
Take a look at the "Convert Game Text" function, taking a string and returning a text. The string is the path to the text ("Button/Tooltip/TestItem1").
@Mille25: Go
Exactly what I was after thanks :), knew it had to be there.