I'm using a SimError system (creates custom Sim Error in-game).
The problem is it messes up with the MessageLog. It creates a lot of blank spaces. It isn't supposed to show up there in the first place (you know how the default sim error works).
So, how can I display a message in-game without automatically adding it to the MessageLog?
DotA did this, I don't know how tho :\
JASS:
function SimError takes player whichPlayer, string msg returns nothing
set msg = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n|cffffcc00" + msg + "|r"
if GetLocalPlayer() == whichPlayer then
call ClearTextMessages()
call DisplayTimedTextToPlayer(whichPlayer, 0.52, 0.96, 2.00, msg)
endif
endfunction
So, how can I display a message in-game without automatically adding it to the MessageLog?
DotA did this, I don't know how tho :\