Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Trigger

Classes

class  BaseGameTriggerEntityClass
class  PrefabFilter
class  PreloadEntry
class  ScriptedGameTriggerEntityClass

Functions

ScriptInvoker GetOnQueryFinished ()
proto external bool QueryEntityInside (notnull IEntity ent)
proto external void QueryEntitiesInside ()
proto external bool DefaultEntityFilterForQuery (IEntity ent)
proto external int GetEntitiesInside (out notnull array< IEntity > outEntities)
proto external void SetSphereRadius (float radius)
proto external float GetSphereRadius ()
proto external void SetUpdateRate (float updateRate)
proto external float GetUpdateRate ()
proto external void EnablePeriodicQueries (bool enable)
proto external bool IsPeriodicQueriesEnabled ()
proto external void AddFilterName (string name)
 Add a name to the filter.
proto external bool RemoveFilterName (string name)
 Remove a name from the filter.
proto external void AddClassType (typename classType)
 Add a class type to the filter.
proto external bool RemoveClassType (typename classType)
 Remove a class type from the filter.
proto external void AddPrefabFilter (PrefabFilter prefabFilter)
 Add a prefab filter to the filters.
proto external bool RemovePrefabFilter (PrefabFilter prefabFilter)
 Remove a prefab filter from the filters.
proto external EQueryEntitiesFlags GetTraceMask ()
 Get flag(s) from the traces done by the the trigger.
proto external void SetTraceMask (EQueryEntitiesFlags flags)
proto external void ClearTraceMask (EQueryEntitiesFlags flags)
 Clears trace mask.
void OnActivate (IEntity ent)
 callback - activation - occurs when and entity which fulfills the filter definitions enters the Trigger
void OnDeactivate (IEntity ent)
 callback - deactivation - occurs when and entity which was activated (OnActivate) leaves the Trigger
void OnQueryFinished (bool bIsEmpty)
 callback - query finished - occurs when the current query finished being processd and has updated results
ScriptedGameTriggerEntityClass BaseGameTriggerEntityClass OnInit (IEntity owner)
event void OnFrame (IEntity owner, float timeSlice)
event bool ScriptedEntityFilterForQuery (IEntity ent)
 Override this method in inherited class to define a new filter. This base filter will not be used unless overridden!

Variables

BaseGameTriggerEntityClass Event_OnQueryFinished = new ScriptInvoker()

Detailed Description

Function Documentation

◆ AddClassType()

proto external void AddClassType ( typename classType )

Add a class type to the filter.

◆ AddFilterName()

proto external void AddFilterName ( string name)

Add a name to the filter.

◆ AddPrefabFilter()

proto external void AddPrefabFilter ( PrefabFilter prefabFilter)

Add a prefab filter to the filters.

◆ ClearTraceMask()

proto external void ClearTraceMask ( EQueryEntitiesFlags flags)

Clears trace mask.

◆ DefaultEntityFilterForQuery()

proto external bool DefaultEntityFilterForQuery ( IEntity ent)

◆ EnablePeriodicQueries()

proto external void EnablePeriodicQueries ( bool enable)

◆ GetEntitiesInside()

proto external int GetEntitiesInside ( out notnull array< IEntity > outEntities)

Get the entities inside the triggers. IMPORTANT* This doesn't force the searching of entities. If you want to search entities, use the QueryEntitiesInside function.

◆ GetOnQueryFinished()

ScriptInvoker GetOnQueryFinished ( )

Definition at line 20 of file BaseGameTriggerEntity.c.

◆ GetSphereRadius()

proto external float GetSphereRadius ( )

◆ GetTraceMask()

proto external EQueryEntitiesFlags GetTraceMask ( )

Get flag(s) from the traces done by the the trigger.

◆ GetUpdateRate()

proto external float GetUpdateRate ( )

◆ IsPeriodicQueriesEnabled()

proto external bool IsPeriodicQueriesEnabled ( )

◆ OnActivate()

void OnActivate ( IEntity ent)
protected

callback - activation - occurs when and entity which fulfills the filter definitions enters the Trigger

Definition at line 35 of file SCR_BaseTriggerEntity.c.

◆ OnDeactivate()

void OnDeactivate ( IEntity ent)
protected

callback - deactivation - occurs when and entity which was activated (OnActivate) leaves the Trigger

Definition at line 41 of file SCR_BaseTriggerEntity.c.

◆ OnFrame()

event void OnFrame ( IEntity owner,
float timeSlice )
protected

Definition at line 1466 of file SCR_VehicleDamageManagerComponent.c.

◆ OnInit()

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Definition at line 493 of file SCR_CharacterCommandHandler_Tests.c.

◆ OnQueryFinished()

void OnQueryFinished ( bool bIsEmpty)
protected

callback - query finished - occurs when the current query finished being processd and has updated results

Definition at line 77 of file BaseGameTriggerEntity.c.

◆ QueryEntitiesInside()

proto external void QueryEntitiesInside ( )

◆ QueryEntityInside()

proto external bool QueryEntityInside ( notnull IEntity ent)

◆ RemoveClassType()

proto external bool RemoveClassType ( typename classType )

Remove a class type from the filter.

◆ RemoveFilterName()

proto external bool RemoveFilterName ( string name)

Remove a name from the filter.

◆ RemovePrefabFilter()

proto external bool RemovePrefabFilter ( PrefabFilter prefabFilter)

Remove a prefab filter from the filters.

◆ ScriptedEntityFilterForQuery()

event bool ScriptedEntityFilterForQuery ( IEntity ent)
protected

Override this method in inherited class to define a new filter. This base filter will not be used unless overridden!

Definition at line 21 of file ScriptedGameTriggerEntity.c.

◆ SetSphereRadius()

proto external void SetSphereRadius ( float radius)

◆ SetTraceMask()

proto external void SetTraceMask ( EQueryEntitiesFlags flags)

Sets trace mask. Bits are or'ed with existing mask.

◆ SetUpdateRate()

proto external void SetUpdateRate ( float updateRate)

Variable Documentation

◆ Event_OnQueryFinished

BaseGameTriggerEntityClass Event_OnQueryFinished = new ScriptInvoker()