The 3D sound to play.
The unit to attach the sound to.
Attaches the sound soundHandle to unit whichUnit. Attaching sound to unit means that the more far away the player stays from the unit to which the sound is attached, the less loud the sound plays (the volume of the attached sound decreases with increasing distance).
This call is only valid if the sound was created with 3d enabled
- return type
- Source code
native AttachSoundToUnit takes sound soundHandle, unit whichUnit returns nothing