DayZ 1.24
Loading...
Searching...
No Matches
SphereTrigger Class Reference

Trigger with spherical shape. More...

Inheritance diagram for SphereTrigger:
[legend]
Collaboration diagram for SphereTrigger:
[legend]

Private Member Functions

override void EOnInit (IEntity other, int extra)
 
- Private Member Functions inherited from Trigger
override void OnEnter (Object obj)
 
override void OnLeave (Object obj)
 
void UpdateInsiders (int timeout)
 
void SetParentObject (Hologram projection)
 
void SetParentOwner (PlayerBase player)
 
void OnEnterBeginEvent (TriggerInsider insider)
 
void OnLeaveBeginEvent (TriggerInsider insider)
 
void OnEnter (Object obj)
 
void OnLeave (Object obj)
 
bool CanAddObjectAsInsider (Object object)
 Condition whether an Object can be added as TriggerInsider (checked before calling AddInsider)
 
bool ShouldRemoveInsider (TriggerInsider insider)
 Condition whether a TriggerInsider should still be updated or not (checked in update loop and before adding)
 
bool ShouldRemoveInsiderNoLeave (TriggerInsider insider)
 Condition whether a TriggerInsider should still be updated or not, skips OnLeaveEvent (checked in update loop and before adding)
 
TriggerInsider CreateInsider (Object obj)
 Used for easily overriding TriggerInsider creation without rewriting AddInsider.
 
void AddInsider (Object obj)
 Adding of new TriggerInsider.
 
void RemoveInsider (TriggerInsider insider, int index=-1)
 Removing of TriggerInsider.
 
void RemoveInsiderByObject (Object object)
 Removing of TriggerInsider through Object.
 
void UpdateInsiders (int timeout)
 Update the current TriggerInsider inside the Trigger, timeout paramter is deprecated.
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 

Additional Inherited Members

- Private Attributes inherited from Trigger
int m_TriggerUpdateMs
 
Hologram m_ParentObj
 
PlayerBase m_Player
 

Detailed Description

Trigger with spherical shape.

Definition at line 2 of file SphereTrigger.c.

Member Function Documentation

◆ EOnInit()

override void SphereTrigger::EOnInit ( IEntity other,
int extra )
inlineprivate

Definition at line 4 of file SphereTrigger.c.

5 {
7 }
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.

References SetCollisionSphere().


The documentation for this class was generated from the following file: