User Tools

Site Tools


script:module:audio

This is an old revision of the document!


Audio (Module)

Module for the audio subsystem.

Functions

localSound ( sound : Text, volume : Number )

Start playing a local sound without any particular emitter object. This is useful for example for UI/HUD sound effects. sound must be a valid Sound ID. volume is the volume of the sound in the range 0…1.

script/module/audio.1576426305.txt.gz · Last modified: 2019-12-15 18:11 by skyjake