DayZ 1.24
Loading...
Searching...
No Matches
SpookyTrigger.c
Go to the documentation of this file.
2{
3
4}
5
7{
9
10 override void OnEnterClientEvent(TriggerInsider insider)
11 {
12 super.OnEnterClientEvent(insider);
13 //Print("------------------------ >Entering ");
14 PlayerBase player = PlayerBase.Cast(insider.GetObject());
16 }
17
18
19 override void OnLeaveClientEvent(TriggerInsider insider)
20 {
21 super.OnLeaveClientEvent(insider);
22 //Print("------------------------ >Leaving ");
24 }
25
26 override protected void OnStayClientEvent(TriggerInsider insider, float deltaTime)
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 }
33}
override void OnStayClientEvent(TriggerInsider insider, float deltaTime)
override void OnLeaveClientEvent(TriggerInsider insider)
override void OnEnterClientEvent(TriggerInsider insider)
void SpookyTriggerEventsHandler(notnull PlayerBase player)
class SpookyTrigger extends EffectTrigger m_EventsHandler
The object which is in a trigger and its metadata.
Definition Trigger.c:3
Object GetObject()
Definition Trigger.c:28