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

Public Member Functions

override TStringArray GetVariablesIn ()
 
override TStringArray GetVariablesOut ()
 
override void OnInit (AIAgent owner)
 
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
- Public Member Functions inherited from AITaskScripted
void OnEnter (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 override bool VisibleInPalette ()
 

Protected Attributes

SCR_AICombatComponent m_CombatComp
 

Static Protected Attributes

const static string WEAPON_COMPONENT_PORT = "WeaponComponent"
 
const static string MUZZLE_ID_PORT = "MuzzleId"
 
const static string LOW_AMMO_PORT = "LowAmmo"
 
static ref TStringArray s_aVarsIn = {WEAPON_COMPONENT_PORT, MUZZLE_ID_PORT}
 
static ref TStringArray s_aVarsOut = {LOW_AMMO_PORT}
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Additional Inherited Members

- Protected Member Functions inherited from AITaskScripted
string GetNodeMiddleText ()
 
- Static Protected Member Functions inherited from Node
static string GetOnHoverDescription ()
 
static bool CanReturnRunning ()
 

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetVariablesIn()

override TStringArray SCR_AICheckLowAmmo.GetVariablesIn ( )

Implements Node.

◆ GetVariablesOut()

override TStringArray SCR_AICheckLowAmmo.GetVariablesOut ( )

Implements Node.

◆ OnInit()

override void SCR_AICheckLowAmmo.OnInit ( AIAgent owner)

Implements AITaskScripted.

◆ VisibleInPalette()

static override bool SCR_AICheckLowAmmo.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ LOW_AMMO_PORT

const static string SCR_AICheckLowAmmo.LOW_AMMO_PORT = "LowAmmo"
staticprotected

◆ m_CombatComp

SCR_AICombatComponent SCR_AICheckLowAmmo.m_CombatComp
protected

◆ MUZZLE_ID_PORT

const static string SCR_AICheckLowAmmo.MUZZLE_ID_PORT = "MuzzleId"
staticprotected

◆ s_aVarsIn

ref TStringArray SCR_AICheckLowAmmo.s_aVarsIn = {WEAPON_COMPONENT_PORT, MUZZLE_ID_PORT}
staticprotected

◆ s_aVarsOut

ref TStringArray SCR_AICheckLowAmmo.s_aVarsOut = {LOW_AMMO_PORT}
staticprotected

◆ WEAPON_COMPONENT_PORT

const static string SCR_AICheckLowAmmo.WEAPON_COMPONENT_PORT = "WeaponComponent"
staticprotected

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