PlaySoundOnUnitBJ
- Parameters
-
soundHandle sound
volumePercent real
whichUnit unit
- comment
- patch
-
1.07
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- 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