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

Sets stance of character. More...

Inheritance diagram for SCR_AISetStance:
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 array< string > GetVariablesIn ()
 
override string GetNodeMiddleText ()
 
- 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 ()
 
static override string GetOnHoverDescription ()
 

Protected Attributes

CharacterControllerComponent m_CharacterController
 
SCR_AICharacterSettingsComponent m_SettingsComp
 
ECharacterStance m_eStance
 

Static Protected Attributes

static const string STANCE_PORT = "Stance"
 
static ref TStringArray s_aVarsIn
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Additional Inherited Members

- Protected Member Functions inherited from Node
TStringArray GetVariablesOut ()
 
- Static Protected Member Functions inherited from Node
static bool CanReturnRunning ()
 

Detailed Description

Sets stance of character.

Also before doing so, it checks restriction from group info component, and from settings component.

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetNodeMiddleText()

override string SCR_AISetStance.GetNodeMiddleText ( )

Implements AITaskScripted.

◆ GetOnHoverDescription()

static override string SCR_AISetStance.GetOnHoverDescription ( )
static

Implements Node.

◆ GetVariablesIn()

override array< string > SCR_AISetStance.GetVariablesIn ( )

Implements Node.

◆ OnInit()

override void SCR_AISetStance.OnInit ( AIAgent owner)

Implements AITaskScripted.

◆ VisibleInPalette()

static override bool SCR_AISetStance.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ m_CharacterController

CharacterControllerComponent SCR_AISetStance.m_CharacterController
protected

◆ m_eStance

ECharacterStance SCR_AISetStance.m_eStance
protected

◆ m_SettingsComp

SCR_AICharacterSettingsComponent SCR_AISetStance.m_SettingsComp
protected

◆ s_aVarsIn

ref TStringArray SCR_AISetStance.s_aVarsIn
staticprotected
Initial value:
= {
}
static const string STANCE_PORT
Definition SCR_AISetStance.c:6

◆ STANCE_PORT

const string SCR_AISetStance.STANCE_PORT = "Stance"
staticprotected

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