SoundHandler

From Crumbled World Wiki
Revision as of 10:41, 4 January 2026 by Anders (talk | contribs) (Created page with "{{:SoundHandlerExampleCode}} ==Functions== {| class="wikitable" !|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) |Set a limit on how many soun...")
(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) Set a limit on how many sound can be started every second
playSound(string soundName, float soundLevel, Vec3 position, bool looping) Set a limit on how many sound can be started every second