Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AIActionBase.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
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 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
override void OnComplete()
override float EvaluatePriorityLevel()
override void OnActionDeselected()
override void OnActionRemoved()
override void OnActionSelected()
override void OnFail()
override float CustomEvaluate()
Base class for all messages related to AI.
Definition AIMessage.c:14
EAIActionState