Jass:SetCameraQuickPositionLocForPlayer – Mappedia

Jass:SetCameraQuickPositionLocForPlayer

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: SetCameraQuickPositionLocForPlayer
Parameter: player
location
Rückgabewert: nothing
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



Code

function SetCameraQuickPositionLocForPlayer takes player whichPlayer, location loc returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraQuickPosition(GetLocationX(loc), GetLocationY(loc))
    endif
endfunction

Parameter

Typ Name Beschreibung
player whichPlayer
location loc
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge