BJDebugMsg
From WarCraft3
< wc3 | jass | Blizzard.j
Template:jass/Blizzard.j This article is part of the Blizzard.j article series.
function BJDebugMsg takes string msg returns nothing
local integer i = 0
loop
call DisplayTimedTextToPlayer(Player(i),0,0,60,msg)
set i = i + 1
exitwhen i == bj_MAX_PLAYERS
endloop
endfunctionConfused? Jass help forum!Outputs a message to all players.
Parameters
msg
The message to display.
Public Reception
BJDebugMsg is one of the few BJs that are accepted to be used regularly due to the fact that the syntax is small and easy to use in comparison to DisplayTextToPlayer.