SoundHandler

From Crumbled World Wiki
Revision as of 10:42, 4 January 2026 by Anders (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SoundHandlerExampleCode


Functions

return function description
playSound(string soundName, float maxSoundPerSecond) Set a limit on how many sound can be started every second
playSound(string soundName, float soundLevel, Vec3 position) Play a sound by name, sound level and a global position
playSound(string soundName, float soundLevel, Vec3 position, bool looping) Play a sound by name, sound level and a global position