|
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 строка 169
Перекрестные ссылки CreateSound() и EffectSound::SoundPlay().
Используется в CGame::DelayedMidAirDetonation(), House::EEInit(), ItemBase::EEItemAttached(), ItemBase::EEItemDetached(), HandleDoorsSound(), HandleEngineSound(), HandleSeatAdjustmentSound(), CarScript::OnAnimationPhaseStarted(), Weapon::OnFireModeChange(), CGame::OnRPC(), InventoryItem::OnRPC(), OnSteppedOn(), InventoryItemSuper::OnWasAttached(), InventoryItemSuper::OnWasDetached(), SpookyEventBase::Perform(), ActionBuildShelter::PlayActionFinishSound(), ActionBuildShelter::PlayActionLoopSound(), ActionBuildShelter::PlayActionStartSound(), InventoryItem::PlayAttachSound(), PlayDisarmingLoopSound(), PlayItemSoundClient(), Backpack_Base::PlayRepackingLoopSound(), PlayRepackingLoopSound(), PlaySoundActivate(), TrapBase::PlaySoundBiteEmpty(), TrapBase::PlaySoundBiteLeg(), TrapBase::PlaySoundOpen(), Edible_Base::SoundCookingStart(), Entity::SoundHardBushFallingPlay(), Entity::SoundHardTreeFallingPlay(), Entity::SoundSoftBushFallingPlay(), Entity::SoundSoftTreeFallingPlay(), StartActivate() и GeyserTrigger::UpdateGeyserState().