Jass:SetCinematicCameraForPlayer – Mappedia

Jass:SetCinematicCameraForPlayer

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



Code

function SetCinematicCameraForPlayer takes player whichPlayer, string cameraModelFile returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCinematicCamera(cameraModelFile)
    endif
endfunction

Parameter

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