Jass:CameraSetupApplyForPlayer – Mappedia

Jass:CameraSetupApplyForPlayer

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



Code

function CameraSetupApplyForPlayer takes boolean doPan, camerasetup whichSetup, player whichPlayer, real duration returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call CameraSetupApplyForceDuration(whichSetup, doPan, duration)
    endif
endfunction

Parameter

Typ Name Beschreibung
boolean doPan
camerasetup whichSetup
player whichPlayer
real duration
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge