Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AISuspendAction.c
Go to the documentation of this file.
2 {
3 
4  //------------------------------------------------------------------------------------------------
5  override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
6  {
8 
9  if (!action)
10  return ENodeResult.FAIL;
11 
12  action.SetActionIsSuspended(true);
13  return ENodeResult.SUCCESS;
14  }
15 
16  //------------------------------------------------------------------------------------------------
17  protected override bool VisibleInPalette()
18  {
19  return true;
20  }
21 
22  //------------------------------------------------------------------------------------------------
23  protected override string GetOnHoverDescription()
24  {
25  return "Suspends the action, calls SetSuspended(true).";
26  }
27 };
GetExecutedAction
proto external ref AIActionBase GetExecutedAction()
SCR_AIActionBase
Definition: SCR_AIAction.c:1
SCR_AISuspendAction
Definition: SCR_AISuspendAction.c:1
SCR_AIActionTask
Definition: SCR_AIBehaviorTask.c:1