PL/getSoundEffects
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Zwraca stany wszystkich efektów dźwięku.
Składnia
table getSoundEffects ( element dzwiek )
Składnia OOP Pomocy, nie rozumiem!
- Metoda: dźwięk:getEffects(...)
 
Wymagane Argumenty
- dzwiek: Dźwięk, którego efekty chcesz pozyskać.
 
Zwraca
Zwraca efekty danego dźwięku. Jeżeli dźwięk jest nieprawidłowy zwraca fałsz.
Nazwy efektów dźwiękowych:
- gargle
 - compressor
 - echo
 - i3dl2reverb
 - distortion
 - chorus
 - parameq
 - reverb
 - flanger
 
Przykłady
function switchEffects(sound) for _,v in ipairs(getSoundEffects(sound)) do if v == "gargle" then setSoundEffectEnabled(sound, "gargle", false) break end end end
See Also
- 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
 - playSoundFrontEnd
 - setRadioChannel
 - setSoundEffectEnabled
 - setSoundEffectParameter
 - setSoundLooped
 - setSoundMaxDistance
 - setSoundMinDistance
 - setSoundPan
 - setSoundPanningEnabled
 - setSoundPaused
 - setSoundPosition
 - setSoundProperties
 - setSoundSpeed
 - setSoundVolume
 - stopSound