DIFF

class SpookyTriggerEventsHandlerSource

Constructors 2

void SpookyTriggerEventsHandler(notnull PlayerBase player)
void ~SpookyTriggerEventsHandler()
References m_SoundEvents

Constants 4

protected const float CONSECUTIVE_EVENTS_COOLDOWN = 20

min delay in seconds before two events

Referenced by Update()
protected const float EVENT_CHECK_FREQUENCY = 2

when not in cooldown, the rate at which we query the events

Referenced by Update()
protected const float FIRST_EVENT_CHECK_DELAY = 15

the delay between the first event check when we first enter the contaminated area

protected const float SURFACE_CHECK_POINT_DISTANCE = 2

additional checks for surface are performed at this distance from the player

Referenced by GatherSurfaces()

Members 4

protected ref array<ref SpookyEventBase> m_SoundEvents
protected float m_TimeAccu
Referenced by Update()
protected float m_NextEventCheck = FIRST_EVENT_CHECK_DELAY
Referenced by Update()

Methods 4