i want it to appear exactly like the "Cannot be cast on friendly unit" text with the exact same font size, location e.t.c just wondering if anybody already know how to, so i dont have to test around for a few hours
ps: i know about floating text, thats not the issue
function SimError takes player ForPlayer, string msg returns nothing
if udg_SimError==null then
set udg_SimError=CreateSoundFromLabel( "InterfaceError",false,false,false,10,10)
endif
if (GetLocalPlayer() == ForPlayer) then
call ClearTextMessages()
call DisplayTimedTextToPlayer( ForPlayer, 0.52, -1.00, 3.00, "|cffffcc00"+msg+"|r" )
call StartSound( udg_SimError )
endif
endfunction
Faust didnt find it, can u give me a link?