- Joined
- Mar 27, 2008
- Messages
- 8,035
JASS:
local texttag Text = CreateTextTag()
set udg_SP_Key = GetHandleId(udg_SP_Unit)
set udg_SP_CurrentValue = LoadReal(udg_SP_Hashtable, udg_SP_Key, 1)
call SetTextTagPosUnit(Text, udg_SP_Unit, 0.00)
call SetTextTagText(Text, "udg_PlayerColor[GetConvertedPlayerId(udg_SP_Player)] + (I2S(R2I(udg_SP_CurrentValue)) + |r", 0.00)
call SetTextTagVelocity(Text, 32.00, 32.00)
call SetTextTagPermanent(Text, false)
call SetTextTagLifespan(Text, 2.50)
call SetTextTagFadepoint(Text, 1.50)
set Text = null
There is no error compiled, but why is the Floating Text does not shows anything at all ?
At first, I thought it would be messing with the string itself, but even if I change it "Hello World", the string is not shown, why ?