|
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 строка 153
Перекрестные ссылки EffectRegister(), position, EffectSound::SetEnviromentVariables(), EffectSound::SetSoundFadeIn(), EffectSound::SetSoundFadeOut(), EffectSound::SetSoundLoop() и EffectSound::SetSoundSet().
Используется в BoatScript::HandleBoatSplashSound(), FlashbangEffect::PlaySound(), PlaySound(), PlaySoundCachedParams(), DustKickupEffects::PlaySoundEffect(), PlaySoundEnviroment(), PlaySoundOnObject(), PlaySoundParams(), EffCloudDust::SelectFromSurface(), EffWheelContact::SelectFromSurface(), EffCloudDust::SetDefault() и UpdateMusic().