Element/Sound: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) No edit summary |
m (Добавление языков) |
||
(8 intermediate revisions by 5 users not shown) | |||
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]] | ||
* [[setElementDimension]] | |||
Sound elements can also be manipulated using the other [[Template:Client audio functions|Client audio functions]]. | |||
Line 10: | Line 15: | ||
===Client=== | ===Client=== | ||
{{Client audio functions}} | {{Client audio functions}} | ||
[[Category:Element Types]] | |||
[[en:Element/Sound]] | |||
[[ru:Element/Sound]] | |||
[[hu:Element/Sound]] |
Latest revision as of 22:03, 14 April 2021
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