Jass:SetCameraPositionForPlayer – Mappedia

Jass:SetCameraPositionForPlayer

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



Code

function SetCameraPositionForPlayer takes player whichPlayer, real x, real y returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraPosition(x, y)
    endif
endfunction

Parameter

Typ Name Beschreibung
player whichPlayer
real x
real y
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge