Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AISetActionParameters.c
Go to the documentation of this file.
1 
8 {
9  //------------------------------------------------------------------------------------------------
10  override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
11  {
13 
14  if (!action)
15  return ENodeResult.FAIL;
16 
17  action.GetParametersFromBTVariables(this);
18  return ENodeResult.SUCCESS;
19  }
20 
21  //------------------------------------------------------------------------------------------------
22  override bool VisibleInPalette() { return false; }
23 };
24 
25 
27 {
28  protected static ref TStringArray s_aVarsIn = (new SCR_AIMoveActivity(null, null, vector.Zero, null)).GetPortNames();
29  override TStringArray GetVariablesIn() { return s_aVarsIn; }
30  override bool VisibleInPalette() { return true; }
31 };
32 
34 {
35  protected static ref TStringArray s_aVarsIn = (new SCR_AIGetInActivity(null, null, null)).GetPortNames();
36  override TStringArray GetVariablesIn() { return s_aVarsIn; }
37  override bool VisibleInPalette() { return true; }
38 };
39 
41 {
42  protected static ref TStringArray s_aVarsIn = (new SCR_AIAttackBehavior(null, null, null, null)).GetPortNames();
43  override TStringArray GetVariablesIn() { return s_aVarsIn; }
44  override bool VisibleInPalette() { return true; }
45 };
GetExecutedAction
proto external ref AIActionBase GetExecutedAction()
SCR_AIActionBase
Definition: SCR_AIAction.c:1
SCR_AIAttackBehavior
Definition: SCR_AIAttackBehavior.c:1
SCR_AISetAttackBehaviorParameters
Definition: SCR_AISetActionParameters.c:40
SCR_AIMoveActivity
Definition: SCR_AIMoveActivity.c:1
SCR_AISetActionParameters
Definition: SCR_AISetActionParameters.c:7
SCR_AISetMoveActivityParameters
Definition: SCR_AISetActionParameters.c:26
SCR_AIGetInActivity
Definition: SCR_AIGetInActivity.c:1
SCR_AISetGetInActivityParameters
Definition: SCR_AISetActionParameters.c:33
SCR_AIActionTask
Definition: SCR_AIBehaviorTask.c:1