Jass:DisplayTimedTextToForce
Aus Mappedia
| Funktion: DisplayTimedTextToForce | |
|---|---|
| Parameter: | force real string |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
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
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| force | toForce | |
| real | duration | |
| string | message |
