User Guide
Quick Reference
Modding
Development
User Guide
Quick Reference
Modding
Development
This is an old revision of the document!
Module for the audio subsystem.
localSound ( sound : Text, volume : Number )
Start playing a local sound without any particular emitter object. sound must be a valid ID of a Sound definition. volume is the volume of the sound in the range 0…1.
This is useful for example for UI/HUD sound effects. Use World.Thing.startSound() to play a sound originating from a thing.