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

Base class of node which gets action parameters from a BT node. More...

Inheritance diagram for SCR_AISetActionParameters:
SCR_AIActionTask AITaskScripted AITask Node SCR_AISetAttackBehaviorParameters SCR_AISetDefendActivityParameters SCR_AISetGetInActivityParameters SCR_AISetHealActivityParameters SCR_AISetInvestigateBehaviorParameters SCR_AISetMoveActivityParameters SCR_AISetObserveUnknownFireBehaviorParameters SCR_AISetStaticArtilleryBehaviorParameters

Public Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from SCR_AIActionTask
static const string ENTITY_PORT = "Entity"
 
static const string POSITION_PORT = "Position"
 
static const string STANCE_PORT = "Stance"
 
static const string ROLEINVEHICLE_PORT = "RoleInVehicle"
 
static const string REPORTER_PORT = "ReportingAgent"
 
static const string USE_VEHICLES_PORT = "UseVehicles"
 
static const string DESIREDDISTANCE_PORT = "DesiredDistance"
 
static const string TARGET_PORT = "Target"
 
static const string TARGETINFO_PORT = "TargetInfo"
 
static const string TARGETPOSITION_PORT = "TargetPosition"
 
static const string NEXTCOVERPOSITION_PORT = "NextCoverPosition"
 
static const string COMPARTMENT_PORT = "Compartment"
 
static const string SMARTACTION_PORT = "SmartActionComponent"
 
static const string WEAPON_TYPE_PORT = "WeaponType"
 
static const string WEAPON_COMP_PORT = "WeaponComponent"
 
static const string MAGAZINE_COMP_PORT = "MagazineComponent"
 
static const string MAGAZINE_WELL_PORT = "MagazineWell"
 
static const string PRIORITY_LEVEL_PORT = "PriorityLevel"
 
static const string MUZZLE_ID = "MuzzleID"
 
static const string WAYPOINT_PORT = "Waypoint"
 
static const string BOARDING_PARAMS_PORT = "BoardingParams"
 
static const string DEFEND_DIRECTION_PORT = "DefendDirection"
 
static const string DEFEND_LOCATION_PORT = "DefendLocation"
 
static const string ANGULAR_RANGE_PORT = "AngularRange"
 
static const string WAYPOINT_RELATED_PORT = "WaypointRelated"
 
static const string IS_DANGEROUS_PORT = "isDangerous"
 
static const string RESET_TIMER_PORT = "ResetTimer"
 
static const string TIMEOUT_PORT = "Timeout"
 
static const string DELAY_PORT = "Delay"
 
static const string REINIT_PORT = "Reinit"
 
static const string RADIUS_PORT = "Radius"
 
static const string AGENT_SCRIPT_PORT = "AgentScript"
 
static const string RELATED_INVOKER_PORT = "RelatedInvoker"
 
- Protected Member Functions inherited from SCR_AIActionTask
SCR_AIActionBase GetExecutedAction ()
 Returns current action from the utility component.
 
- Protected Member Functions inherited from AITaskScripted
string GetNodeMiddleText ()
 
- Protected Member Functions inherited from Node
TStringArray GetVariablesIn ()
 
TStringArray GetVariablesOut ()
 
- Static Protected Member Functions inherited from Node
static string GetOnHoverDescription ()
 
static bool CanReturnRunning ()
 
- Protected Attributes inherited from SCR_AIActionTask
SCR_AIBaseUtilityComponent m_UtilityComp
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Detailed Description

Base class of node which gets action parameters from a BT node.

Please refer to SCR_AIGetActionParameters documentation to understand how this class works.

Member Function Documentation

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ VisibleInPalette()


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