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

Public Member Functions

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

int m_iWeaponState
 
EquipedWeaponStorageComponent m_EqWeaponStorageComp
 
ref SCR_AISwitchWeaponMovedCallback m_WeaponMoveCallback
 
- Protected Attributes inherited from SCR_AIWeaponHandlingBase
CharacterControllerComponent m_ControlComp
 
BaseWeaponManagerComponent m_WeaponMgrComp
 
SCR_InventoryStorageManagerComponent m_InventoryMgr
 
CompartmentAccessComponent m_CompartmentAccessComp
 

Static Protected Attributes

static const int WEAPON_STATE_IDLE = 0
 
static const int WEAPON_STATE_MOVING = 1
 
static const int WEAPON_STATE_MOVED = 2
 
static const string PORT_WEAPON_COMPONENT = "WeaponComponent"
 
static ref TStringArray s_aVarsIn = {PORT_WEAPON_COMPONENT}
 
- 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 ()
 
- Static Protected Member Functions inherited from Node
static string GetOnHoverDescription ()
 
static bool CanReturnRunning ()
 

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetVariablesIn()

override TStringArray SCR_AISwitchWeapon.GetVariablesIn ( )

Implements Node.

◆ OnAbort()

override void SCR_AISwitchWeapon.OnAbort ( AIAgent owner,
Node nodeCausingAbort )

Implements AITaskScripted.

◆ OnMoveWeaponFinished()

void SCR_AISwitchWeapon.OnMoveWeaponFinished ( bool result)

◆ VisibleInPalette()

static override bool SCR_AISwitchWeapon.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ m_EqWeaponStorageComp

EquipedWeaponStorageComponent SCR_AISwitchWeapon.m_EqWeaponStorageComp
protected

◆ m_iWeaponState

int SCR_AISwitchWeapon.m_iWeaponState
protected

◆ m_WeaponMoveCallback

ref SCR_AISwitchWeaponMovedCallback SCR_AISwitchWeapon.m_WeaponMoveCallback
protected

◆ PORT_WEAPON_COMPONENT

const string SCR_AISwitchWeapon.PORT_WEAPON_COMPONENT = "WeaponComponent"
staticprotected

◆ s_aVarsIn

ref TStringArray SCR_AISwitchWeapon.s_aVarsIn = {PORT_WEAPON_COMPONENT}
staticprotected

◆ WEAPON_STATE_IDLE

const int SCR_AISwitchWeapon.WEAPON_STATE_IDLE = 0
staticprotected

◆ WEAPON_STATE_MOVED

const int SCR_AISwitchWeapon.WEAPON_STATE_MOVED = 2
staticprotected

◆ WEAPON_STATE_MOVING

const int SCR_AISwitchWeapon.WEAPON_STATE_MOVING = 1
staticprotected

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