Jass:PanCameraToLocForPlayer – Mappedia

Jass:PanCameraToLocForPlayer

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



Code

function PanCameraToLocForPlayer 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 PanCameraTo(GetLocationX(loc), GetLocationY(loc))
    endif
endfunction

Parameter

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