Category: Audio
Syntax:
audPlaySound3D:Int(sound:Int, x:Double, y:Double, z:Double)
Int
Plays a sound once at a specific 3D position and returns a channel handle.
Takes sound (sound handle), x/y/z (3D position coordinates).
Returns a channel handle.
View detailed documentation online
Local pistolSound:Int = audLoadSound("pistol.wav")
Local channel = audPlaySound3D(pistolSound, sourceX, sourceY, sourceZ)
BambooBasic © 2026 Michael Denathorn