Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseTriggerEntity.c File Reference

Go to the source code of this file.

Classes

class  SCR_BaseTriggerEntityClass

Functions

bool IsAlive (IEntity entity)
ScriptInvoker GetOnActivate ()
ScriptInvoker GetOnDeactivate ()
event void OnActivate (IEntity ent)
 callback - activation - occurs when and entity which fulfills the filter definitions enters the Trigger
event void OnDeactivate (IEntity ent)
 callback - deactivation - occurs when and entity which was activated (OnActivate) leaves the Trigger

Variables

SCR_BaseTriggerEntityClass m_OnActivate = new ScriptInvoker()
 Basic scripted trigger which offers external invoekrs for major events like activation or deactivation.
ref ScriptInvoker m_OnDeactivate = new ScriptInvoker()

Function Documentation

◆ GetOnActivate()

ScriptInvoker GetOnActivate ( )
protected
Returns
Invoker called on server when the trigger is activated

Definition at line 23 of file SCR_BaseTriggerEntity.c.

◆ GetOnDeactivate()

ScriptInvoker GetOnDeactivate ( )
protected
Returns
Invoker called on server when the trigger is deactivated

Definition at line 29 of file SCR_BaseTriggerEntity.c.

◆ IsAlive()

bool IsAlive ( IEntity entity)
protected

Definition at line 12 of file SCR_BaseTriggerEntity.c.

Variable Documentation

◆ m_OnActivate

Basic scripted trigger which offers external invoekrs for major events like activation or deactivation.

◆ m_OnDeactivate

ref ScriptInvoker m_OnDeactivate = new ScriptInvoker()
protected

Definition at line 10 of file SCR_BaseTriggerEntity.c.