Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AISetActionParameters.c
Go to the documentation of this file.
1
6
8{
9 //------------------------------------------------------------------------------------------------
10 override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
11 {
12 SCR_AIActionBase action = GetExecutedAction();
13
14 if (!action)
15 return ENodeResult.FAIL;
16
17 action.GetParametersFromBTVariables(this);
18 return ENodeResult.SUCCESS;
19 }
20
21 //------------------------------------------------------------------------------------------------
22 static 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 static 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 static override bool VisibleInPalette() { return true; }
38};
39
41{
42 protected static ref TStringArray s_aVarsIn = (new SCR_AIDefendActivity(null, null, vector.Zero)).GetPortNames();
43 override TStringArray GetVariablesIn() { return s_aVarsIn; }
44 static override bool VisibleInPalette() { return true; }
45};
46
48{
49 protected static ref TStringArray s_aVarsIn = (new SCR_AIAttackBehavior(null, null, null, null)).GetPortNames();
50 override TStringArray GetVariablesIn() { return s_aVarsIn; }
51 static override bool VisibleInPalette() { return true; }
52};
TStringArray GetPortNames()
bool VisibleInPalette()
SCR_AIActionBase GetExecutedAction()
Returns current action from the utility component.
ENodeResult
Definition ENodeResult.c:13
array< string > TStringArray
Definition Types.c:385