DayZ 1.24
Loading...
Searching...
No Matches
SpookyTrigger.c File Reference

Go to the source code of this file.

Classes

class  EffectTrigger
 

Functions

override void OnEnterClientEvent (TriggerInsider insider)
 
override void OnLeaveClientEvent (TriggerInsider insider)
 
void OnStayClientEvent (TriggerInsider insider, float deltaTime)
 

Variables

class SpookyTrigger extends EffectTrigger m_EventsHandler
 

Function Documentation

◆ OnEnterClientEvent()

override void OnEnterClientEvent ( TriggerInsider insider)

Definition at line 10 of file SpookyTrigger.c.

11 {
12 super.OnEnterClientEvent(insider);
13 //Print("------------------------ >Entering ");
14 PlayerBase player = PlayerBase.Cast(insider.GetObject());
16 }
void SpookyTriggerEventsHandler(notnull PlayerBase player)
class SpookyTrigger extends EffectTrigger m_EventsHandler
Object GetObject()
Definition Trigger.c:28

References TriggerInsider::GetObject(), m_EventsHandler, and SpookyTriggerEventsHandler().

◆ OnLeaveClientEvent()

override void OnLeaveClientEvent ( TriggerInsider insider)

Definition at line 19 of file SpookyTrigger.c.

20 {
21 super.OnLeaveClientEvent(insider);
22 //Print("------------------------ >Leaving ");
24 }

References m_EventsHandler.

◆ OnStayClientEvent()

void OnStayClientEvent ( TriggerInsider insider,
float deltaTime )
protected

Definition at line 26 of file SpookyTrigger.c.

27 {
28 super.OnStayClientEvent(insider, deltaTime);
29 //this should be getting called only on the controlled player, as the controlled player should be the only entity, which gets added as insider client-side
32 }

References m_EventsHandler.

Variable Documentation

◆ m_EventsHandler