class SpookyTriggerEventsHandlerSource
Constructors 2
void SpookyTriggerEventsHandler(notnull PlayerBase player)Referenced by SpookyTrigger23.OnEnterClientEvent()
void ~SpookyTriggerEventsHandler()References m_SoundEvents
Constants 4
protected const float CONSECUTIVE_EVENTS_COOLDOWN = 20min delay in seconds before two events
Referenced by Update()
protected const float EVENT_CHECK_FREQUENCY = 2when not in cooldown, the rate at which we query the events
Referenced by Update()
protected const float FIRST_EVENT_CHECK_DELAY = 15the delay between the first event check when we first enter the contaminated area
protected const float SURFACE_CHECK_POINT_DISTANCE = 2additional checks for surface are performed at this distance from the player
Referenced by GatherSurfaces()
Members 4
protected ref array<ref SpookyEventBase> m_SoundEventsReferenced by ~SpookyTriggerEventsHandler(), RegisterEvents(), SelectEvent()
Show 1 more
, SpookyTriggerEventsHandler()protected PlayerBase m_PlayerMethods 4
protected void RegisterEvents()References array.Insert(), new SpookyEventRustle(), new SpookyEventSteps()
Show 3 more
, new SpookyEventWhisper(), new SpookyEventWind(), and m_SoundEventsReferenced by SpookyTriggerEventsHandler()
void Update(float deltaTime)References SelectEvent(), CONSECUTIVE_EVENTS_COOLDOWN, EVENT_CHECK_FREQUENCY
Show 2 more
, m_NextEventCheck, and m_TimeAccuReferenced by SpookyTrigger23.OnStayClientEvent()
protected void GatherSurfaces(notnull TStringVectorMap gatheredGurfaces)Referenced by SelectEvent()
protected bool SelectEvent()Referenced by Update()