GetSoundDurationBJ

Parameters
soundHandle sound
comment
patch

1.00

Source
Blizzard.j
return type
real
Source 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