DisplayTextToForce

Parameters
toForce force
message string
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function DisplayTextToForce takes force toForce, string message returns nothing
    if (IsPlayerInForce(GetLocalPlayer(), toForce)) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, message)
    endif
endfunction