Jass:GetSoundDurationBJ – Mappedia

Jass:GetSoundDurationBJ

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



Code

function GetSoundDurationBJ takes sound soundHandle returns real
    if (soundHandle == null) then
        return bj_NOTHING_SOUND_DURATION
    else
        return I2R(GetSoundDuration(soundHandle)) * 0.001
    endif
endfunction

Parameter

Typ Name Beschreibung
sound soundHandle
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge