Display a LUA variables content on a button?

Hi,
on a button inside ui.menu, can I somehow display a numerical variables content on a button? If so, does it require type casting to a string?
I wish I could do something like:
text str(numVar) + " rolls left"
TIA!
on a button inside ui.menu, can I somehow display a numerical variables content on a button? If so, does it require type casting to a string?
I wish I could do something like:
text str(numVar) + " rolls left"
TIA!
0
Comments