Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
AIActionBase.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class AIActionBase: ScriptAndConfig
13 {
14  proto external float Evaluate();
15  proto external float GetPriority();
16  proto external void SetPriority(float priority);
17  proto external bool GetActionIsSuspended();
18  proto external void SetActionIsSuspended(bool val);
19  proto external bool GetIsUniqueInActionQueue();
20  proto external void SetIsUniqueInActionQueue(bool unique);
21  proto external EAIActionState GetActionState();
22  proto external void SetActionState(EAIActionState state);
23  proto external void Fail();
24  proto external void Complete();
25  proto external bool GetRemoveAction();
26  proto external void SetRemoveAction(bool val);
27  proto external ref AIActionBase GetRelatedGroupActivity();
28  proto external void SetRelatedGroupActivity(AIActionBase related);
29 
30  // callbacks
31 
32  event float CustomEvaluate() { return GetPriority(); };
33  event float EvaluatePriorityLevel() { return 0.0; };
34  event void OnSetSuspended(bool suspended);
35  event void OnSetActionState(EAIActionState state);
36  event void OnFail();
37  event void OnComplete();
38  /* Called when any new message arrives, regardless of state of this action.
39  When any of the messages returns true, the reaction is not invoked.*/
40  event bool OnMessage(AIMessage msg) { return false; };
41  // Called after behavior was selected after different behavior
42  event void OnActionSelected();
43  // Called after behavior different behavior was selected instead of this one
44  event void OnActionDeselected();
45  // Called when action is removed from utility component
46  event void OnActionRemoved();
47 }
48 
AIActionBase
Definition: AIActionBase.c:12
GetPriority
int GetPriority()
Definition: SCR_BaseManualCameraComponent.c:107
EAIActionState
EAIActionState
Definition: EAIActionState.c:12