Element/Sound: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) No edit summary |
m (corrected wording, amended formatting to make clear the seperation between client audio functions and element functions.) |
||
Line 1: | Line 1: | ||
The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by [[playSound]] or [[playSound3D]]. | The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by [[playSound]] or [[playSound3D]]. | ||
A sound element created | A sound element is created using [[playSound3D]] or [[playSound]] and can be manipulated with the following element functions:. | ||
* [[setElementPosition]] | * [[setElementPosition]] | ||
Sound elements can also be manipulated using the other [[Template:Client audio functions|Client audio functions]]. | |||
Revision as of 16:23, 27 December 2008
The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by playSound or playSound3D.
A sound element is created using playSound3D or playSound and can be manipulated with the following element functions:.
Sound elements can also be manipulated using the other Client audio functions.
The element type of this class is "sound".
Related scripting functions
Client
- getRadioChannel
- getRadioChannelName
- getSFXStatus
- getSoundBPM
- getSoundBufferLength
- getSoundEffectParameters
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance
- getSoundMetaTags
- getSoundMinDistance
- getSoundPan
- getSoundPosition
- getSoundProperties
- getSoundSpeed
- getSoundVolume
- getSoundWaveData
- isSoundLooped
- isSoundPanningEnabled
- isSoundPaused
- playSFX3D
- playSFX
- playSound3D
- playSound
- setRadioChannel
- setSoundEffectEnabled
- setSoundEffectParameter
- setSoundLooped
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPan
- setSoundPanningEnabled
- setSoundPaused
- setSoundPosition
- setSoundProperties
- setSoundSpeed
- setSoundVolume
- stopSound
- Shared
- playSoundFrontEnd