[Solved] How to Insert Integer/Real variable value in Floating text

Status
Not open for further replies.
Level 4
Joined
Dec 12, 2012
Messages
96
Is it possible to create a floating text with the value of of int/real variable in it?
Let's say my unit has a default Strength of 10 and it adds 1 strength per level.

Then I'd like to put a floating text on the unit when it attacks:
"Will steal <current value of strength> gold per attack". (example if attacking unit has 10 STR: "Will steal 10 Gold per attack")

OR on the attacked unit:
" -<current value of strength> Gold" (example if attacking unit has 10 STR: "-10 Gold" )


So as the level changes, the floating text will automatically changes.
 
Status
Not open for further replies.
Top