|
inlinestaticprotected |
Create and play 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) |
EffectSound The created EffectSound См. определение в файле EffectManager.c строка 178
Перекрестные ссылки CreateSound(), position и EffectSound::SoundPlay().
Используется в CGame::DelayedMidAirDetonation(), House::EEInit(), Weapon::OnFireModeChange(), CGame::OnRPC(), OnRPC(), OnSteppedOn(), OnTriggeredByFallEffectsClient(), SpookyEventBase::Perform(), ActionBuildShelter::PlayActionFinishSound(), ActionBuildShelter::PlayActionLoopSound(), ActionBuildShelter::PlayActionStartSound(), PlayAttachSound(), CeilingDustEffectBase::PlayCeilingDustSound(), PlayDisarmingLoopSound(), PlayItemSoundClient(), Backpack_Base::PlayRepackingLoopSound(), PlayRepackingLoopSound(), PlaySoundActivate(), TrapBase::PlaySoundBiteEmpty(), TrapBase::PlaySoundBiteLeg(), TrapBase::PlaySoundOpen(), PlayStartSound(), Edible_Base::SoundCookingStart(), Entity::SoundHardBushFallingPlay(), Entity::SoundHardTreeFallingPlay(), Entity::SoundSoftBushFallingPlay(), Entity::SoundSoftTreeFallingPlay(), StartActivate(), GeyserTrigger::UpdateGeyserState() и OilPitTrigger::UpdateSound().