Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AIEvaluateExpectedWeapon Interface Reference

Evaluates an expected weapon at Weapon&Target selector and returns the weapon, magazine and muzzle. More...

Inheritance diagram for SCR_AIEvaluateExpectedWeapon:
AITaskScripted AITask Node

Public Member Functions

override void OnInit (AIAgent owner)
 
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
override TStringArray GetVariablesOut ()
 
- 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_CombatComponent
 

Static Protected Attributes

static const string PORT_WEAPON_COMPONENT = "WeaponComponent"
 
static const string PORT_MAGAZINE_COMPONENT = "MagazineComponent"
 
static const string PORT_MUZZLE_ID = "MuzzleId"
 
static ref TStringArray s_aVarsOut
 
- 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 GetVariablesIn ()
 
- Static Protected Member Functions inherited from Node
static string GetOnHoverDescription ()
 
static bool CanReturnRunning ()
 

Detailed Description

Evaluates an expected weapon at Weapon&Target selector and returns the weapon, magazine and muzzle.

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetVariablesOut()

override TStringArray SCR_AIEvaluateExpectedWeapon.GetVariablesOut ( )

Implements Node.

◆ OnInit()

override void SCR_AIEvaluateExpectedWeapon.OnInit ( AIAgent owner)

Implements AITaskScripted.

◆ VisibleInPalette()

static override bool SCR_AIEvaluateExpectedWeapon.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ m_CombatComponent

SCR_AICombatComponent SCR_AIEvaluateExpectedWeapon.m_CombatComponent
protected

◆ PORT_MAGAZINE_COMPONENT

const string SCR_AIEvaluateExpectedWeapon.PORT_MAGAZINE_COMPONENT = "MagazineComponent"
staticprotected

◆ PORT_MUZZLE_ID

const string SCR_AIEvaluateExpectedWeapon.PORT_MUZZLE_ID = "MuzzleId"
staticprotected

◆ PORT_WEAPON_COMPONENT

const string SCR_AIEvaluateExpectedWeapon.PORT_WEAPON_COMPONENT = "WeaponComponent"
staticprotected

◆ s_aVarsOut

ref TStringArray SCR_AIEvaluateExpectedWeapon.s_aVarsOut
staticprotected
Initial value:
= {
}
static const string PORT_WEAPON_COMPONENT
Definition SCR_AIEvaluateExpectedWeapon.c:7
static const string PORT_MAGAZINE_COMPONENT
Definition SCR_AIEvaluateExpectedWeapon.c:8
static const string PORT_MUZZLE_ID
Definition SCR_AIEvaluateExpectedWeapon.c:9

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