|
inlinestaticprotected |
Create an EffectSound.
sound_set | string The sound set name of the sound |
position | vector The position to play the sound |
play_fade_in | float The fade in duration of the sound (Optional) |
stop_fade_out | float The fade out duration of the sound (Optional) |
loop | bool Whether the sound should loop (Optional) |
enviroment | bool Whether to set environment variables (Optional) |
EffectSound
The created EffectSound См. определение в файле EffectManager.c строка 144
Перекрестные ссылки EffectRegister(), EffectSound::SetEnviromentVariables(), EffectSound::SetSoundFadeIn(), EffectSound::SetSoundFadeOut(), EffectSound::SetSoundLoop() и EffectSound::SetSoundSet().
Используется в BoatScript::HandleBoatSplashSound(), HandleEngineSound(), FlashbangEffect::PlaySound(), PlaySound(), PlaySoundCachedParams(), PlaySoundEnviroment(), PlaySoundOnObject(), PlaySoundParams() и UpdateMusic().