|
inlinestaticprotected |
Create and play an EffectSound, updating environment variables.
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) |
EffectSound
The created EffectSound См. определение в файле EffectManager.c строка 228
Перекрестные ссылки CreateSound() и EffectSound::SoundPlay().
Используется в ScriptConsoleSoundsTab::HandleKeys(), ScriptConsoleSoundsTab::OnClick(), ContainerLockedBase::OnDoorUnlocked(), OnVariablesSynchronized(), ItemBase::PlayCatchSound() и IEntity::PlaySoundSetAtMemoryPoint().