I have a tooltip window that pulls a description from an array depending on which upgrade button the mouse is hovering over. I'd like to combine variables with the text so that different values can be returned however I seem to only be able to return a string.
For example, if I had two variables, var_damage and var_duration, and wanted the text to say "Fireball does 5 damage over 10 seconds" I'd set the text to something like -
"Fireball does "&var_damage&" damage over "&var_duration&"seconds"
However if I store it in an array and use ARRAY.at(x,y) to retrieve it then it comes out looking like the text above and doesn't insert the variable values.
Is there a way to do store/retrieve this info from an array so it reads correctly?
Thanks!