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

Sets movement speed of character. More...

Inheritance diagram for SCR_AIGroupSetMovementSpeed:
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

AIGroupMovementComponent m_MovementComponent
 
SCR_AIGroupSettingsComponent m_SettingsComp
 
EMovementType m_eSpeed
 

Static Protected Attributes

static const string SPEED_PORT = "Speed"
 
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 movement speed of character.

Also checks restrictions from settings.

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetNodeMiddleText()

override string SCR_AIGroupSetMovementSpeed.GetNodeMiddleText ( )

Implements AITaskScripted.

◆ GetOnHoverDescription()

static override string SCR_AIGroupSetMovementSpeed.GetOnHoverDescription ( )
static

Implements Node.

◆ GetVariablesIn()

override array< string > SCR_AIGroupSetMovementSpeed.GetVariablesIn ( )

Implements Node.

◆ OnInit()

override void SCR_AIGroupSetMovementSpeed.OnInit ( AIAgent owner)

Implements AITaskScripted.

◆ VisibleInPalette()

static override bool SCR_AIGroupSetMovementSpeed.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ m_eSpeed

EMovementType SCR_AIGroupSetMovementSpeed.m_eSpeed
protected

◆ m_MovementComponent

AIGroupMovementComponent SCR_AIGroupSetMovementSpeed.m_MovementComponent
protected

◆ m_SettingsComp

SCR_AIGroupSettingsComponent SCR_AIGroupSetMovementSpeed.m_SettingsComp
protected

◆ s_aVarsIn

ref TStringArray SCR_AIGroupSetMovementSpeed.s_aVarsIn
staticprotected
Initial value:
= {
}
static const string SPEED_PORT
Definition SCR_AICharacterSetMovementSpeed.c:6

◆ SPEED_PORT

const string SCR_AIGroupSetMovementSpeed.SPEED_PORT = "Speed"
staticprotected

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