mixing fixed and dynamic text?
Posted: Sun Feb 13, 2011 6:13 pm
I have an actor that will display the number of lives- x1, x3, x12 etc
The "x" part will be static, it will always be x, but the 1, 2, 3, ... will change depending on your lives
textNumber = livesvar; etc
In the same actor, is there a way to have both a static text and a dynamic part of the text (like the textNumber) that could change based on a variable?
I tried some of the functions in the script reference, (sprintf looked promising) but couldn't get this to work? Is it even possible?
The "x" part will be static, it will always be x, but the 1, 2, 3, ... will change depending on your lives
textNumber = livesvar; etc
In the same actor, is there a way to have both a static text and a dynamic part of the text (like the textNumber) that could change based on a variable?
I tried some of the functions in the script reference, (sprintf looked promising) but couldn't get this to work? Is it even possible?