DisplayTimedTextToForce

Parameters
toForce force
duration real
message string
comment
patch

1.00

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