Jass:RotateCameraAroundLocBJ – Mappedia

Jass:RotateCameraAroundLocBJ

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



Code

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

Parameter

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