Jass:PanCameraToTimedLocForPlayer – Mappedia

Jass:PanCameraToTimedLocForPlayer

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



Code

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

Parameter

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