Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AIOpenDoor Interface Reference
Inheritance diagram for SCR_AIOpenDoor:
AITaskScripted AITask Node

Public Member Functions

override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
override TStringArray GetVariablesIn ()
 
- Public Member Functions inherited from AITaskScripted
void OnEnter (AIAgent owner)
 
void OnInit (AIAgent owner)
 
void OnAbort (AIAgent owner, Node nodeCausingAbort)
 
- Public Member Functions inherited from Node
proto external int GetNodeID ()
 
proto external TypeName GetVariableType (bool inputPort, string name)
 
proto bool GetVariableIn (string name, out void val)
 
proto void SetVariableOut (string name, void val)
 
proto void ClearVariable (string name)
 
proto void GetCallstackStr (out string val)
 
proto void GetParentTreeName (out string val)
 

Static Public Member Functions

static void FindDoorActions (notnull IEntity doorEntity, notnull array< ScriptedUserAction > outActions, bool includeSiblings)
 Searches doorEntity and all its siblings (children of same parent) for SCR_DoorUserAction.
 
static SCR_DoorUserAction FindDoorUserAction (notnull IEntity entity)
 

Static Public Attributes

static const string PORT_DOOR_ENTITY = "DoorEntity"
 
static const float ANGLE_EPSILON = 0.01
 

Static Protected Member Functions

static override bool VisibleInPalette ()
 
static override string GetOnHoverDescription ()
 
- Static Protected Member Functions inherited from Node
static bool CanReturnRunning ()
 

Protected Attributes

bool m_bOpenSiblingDoors
 

Static Protected Attributes

static ref TStringArray s_aVarsIn = { PORT_DOOR_ENTITY }
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Additional Inherited Members

- Protected Member Functions inherited from AITaskScripted
string GetNodeMiddleText ()
 
- Protected Member Functions inherited from Node
TStringArray GetVariablesOut ()
 

Member Function Documentation

◆ EOnTaskSimulate()

override ENodeResult SCR_AIOpenDoor.EOnTaskSimulate ( AIAgent owner,
float dt )

Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.

Implements AITaskScripted.

◆ FindDoorActions()

static void SCR_AIOpenDoor.FindDoorActions ( notnull IEntity doorEntity,
notnull array< ScriptedUserAction > outActions,
bool includeSiblings )
static

Searches doorEntity and all its siblings (children of same parent) for SCR_DoorUserAction.

◆ FindDoorUserAction()

static SCR_DoorUserAction SCR_AIOpenDoor.FindDoorUserAction ( notnull IEntity entity)
static

◆ GetOnHoverDescription()

static override string SCR_AIOpenDoor.GetOnHoverDescription ( )
staticprotected

Implements Node.

◆ GetVariablesIn()

override TStringArray SCR_AIOpenDoor.GetVariablesIn ( )

Implements Node.

◆ VisibleInPalette()

static override bool SCR_AIOpenDoor.VisibleInPalette ( )
staticprotected

Implements Node.

Member Data Documentation

◆ ANGLE_EPSILON

const float SCR_AIOpenDoor.ANGLE_EPSILON = 0.01
static

◆ m_bOpenSiblingDoors

bool SCR_AIOpenDoor.m_bOpenSiblingDoors
protected

◆ PORT_DOOR_ENTITY

const string SCR_AIOpenDoor.PORT_DOOR_ENTITY = "DoorEntity"
static

◆ s_aVarsIn

ref TStringArray SCR_AIOpenDoor.s_aVarsIn = { PORT_DOOR_ENTITY }
staticprotected

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