DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnTriggeredByFallEffectsClient()

override void OnTriggeredByFallEffectsClient ( )
protected

CLIENT: one-shot visual/audio feedback for the fall-trigger, called via the BoolSignal sync.

См. определение в файле Trap_TripWire.c строка 396

397 {
398 EffectSound sound = SEffectManager.PlaySound("TripwireTrap_Trigger_SoundSet", GetPosition());
399 sound.SetAutodestroy(true);
400 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:607
Wrapper class for managing sound through SEffectManager.
Определения EffectSound.c:5
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Определения EffectManager.c:178
Manager class for managing Effect (EffectParticle, EffectSound)
Определения EffectManager.c:6
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки GetPosition(), SEffectManager::PlaySound() и EffectSound::SetAutodestroy().