Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AICompleteAction.c
Go to the documentation of this file.
2{
3
4 //------------------------------------------------------------------------------------------------
5 override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
6 {
7 SCR_AIActionBase action = GetExecutedAction();
8
9 if (!action)
10 return ENodeResult.FAIL;
11
12 action.Complete();
13 return ENodeResult.SUCCESS;
14 }
15
16 //------------------------------------------------------------------------------------------------
17 protected static override bool VisibleInPalette()
18 {
19 return true;
20 }
21
22 //------------------------------------------------------------------------------------------------
23 protected static override string GetOnHoverDescription()
24 {
25 return "Completes action specified in input or current action";
26 }
27
28};
SCR_AIActionBase GetExecutedAction()
Returns current action from the utility component.
static override string GetOnHoverDescription()
static override bool VisibleInPalette()
ENodeResult
Definition ENodeResult.c:13