PlaySoundOnUnitBJ

Parameters
soundHandle sound
volumePercent real
whichUnit unit
comment
patch

1.07

Source
Blizzard.j
return type
nothing
Source code
function PlaySoundOnUnitBJ takes sound soundHandle, real volumePercent, unit whichUnit returns nothing
    call AttachSoundToUnitBJ(soundHandle, whichUnit)
    call SetSoundVolumeBJ(soundHandle, volumePercent)
    call PlaySoundBJ(soundHandle)
endfunction