Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
AIBaseUtilityComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class AIBaseUtilityComponentClass: AIComponentClass
13 {
14 }
15 
16 class AIBaseUtilityComponent: AIComponent
17 {
19  proto external AIActionBase EvaluateActions();
21  proto external void AddAction(AIActionBase action);
23  proto external bool RemoveObsoleteActions();
25  proto external void SetStateAllActionsOfType(typename actionType, EAIActionState actionState, bool includeInherited = false);
27  proto external bool HasActionOfType(typename actionType);
29  proto external AIActionBase FindActionOfType(typename actionType);
31  proto external AIActionBase FindActionOfInheritedType(typename actionType);
32  proto external void FindActionsOfType(typename actionType, notnull array<ref AIActionBase> outActions);
33  proto external void FindActionsOfInheritedType(typename actionType, notnull array<ref AIActionBase> outActions);
34  proto external void SetStateOfRelatedAction(AIActionBase relatedAction, EAIActionState state);
35  proto external bool CallActionsOnMessage(AIMessage msg);
36  //Getters and Setters
37  proto external void GetActions(notnull array<ref AIActionBase> outActions);
38  proto external ref AIActionBase GetCurrentAction();
39  proto external void SetCurrentAction(AIActionBase executed);
40  proto external ref AIActionBase GetExecutedAction();
41  proto external void SetExecutedAction(AIActionBase executed);
42  proto external AIAgent GetOwner();
43 
44  // callbacks
45 
46  event void EOnInit(IEntity owner);
47  event void OnPostInit(IEntity owner);
48  event void EOnDeactivate(IEntity owner);
49  event void EOnDiag(IEntity owner, float timeSlice);
50  event void EOnActivate(IEntity owner);
51 }
52 
GetOwner
proto external AIAgent GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
SetCurrentAction
proto external void SetCurrentAction(AIActionBase executed)
RemoveObsoleteActions
proto external bool RemoveObsoleteActions()
Removes actions which are failed or completed.
GetExecutedAction
proto external ref AIActionBase GetExecutedAction()
AddAction
proto external void AddAction(AIActionBase action)
Adds an action.
AIActionBase
Definition: AIActionBase.c:12
EOnDeactivate
event void EOnDeactivate(IEntity owner)
Definition: SCR_VONController.c:881
HasActionOfType
proto external bool HasActionOfType(typename actionType)
Returns true when there is an action of exactly this type.
FindActionsOfInheritedType
proto external void FindActionsOfInheritedType(typename actionType, notnull array< ref AIActionBase > outActions)
FindActionOfType
proto external AIActionBase FindActionOfType(typename actionType)
Finds action of exactly this type.
OnPostInit
event void OnPostInit(IEntity owner)
Editable Mine.
Definition: SCR_AIConfigComponent.c:72
EOnActivate
event void EOnActivate(IEntity owner)
Definition: SCR_PIPCamera.c:22
EOnDiag
event void EOnDiag(IEntity owner, float timeSlice)
Definition: SCR_AIGroupUtilityComponent.c:426
GetCurrentAction
proto external ref AIActionBase GetCurrentAction()
FindActionsOfType
proto external void FindActionsOfType(typename actionType, notnull array< ref AIActionBase > outActions)
SetStateOfRelatedAction
proto external void SetStateOfRelatedAction(AIActionBase relatedAction, EAIActionState state)
GetActions
proto external void GetActions(notnull array< ref AIActionBase > outActions)
EOnInit
event void EOnInit(IEntity owner)
Initialise this component with data from FactionsManager.
Definition: SCR_AIConfigComponent.c:79
AIBaseUtilityComponentClass
Definition: AIBaseUtilityComponent.c:12
SetExecutedAction
proto external void SetExecutedAction(AIActionBase executed)
EvaluateActions
AIBaseUtilityComponentClass AIComponentClass EvaluateActions()
Evaluate all actions and return the highest evaluated action which is not suspended....
SetStateAllActionsOfType
proto external void SetStateAllActionsOfType(typename actionType, EAIActionState actionState, bool includeInherited=false)
Iterates through the actions changing the state of those of the type or that inherit from it.
FindActionOfInheritedType
proto external AIActionBase FindActionOfInheritedType(typename actionType)
Finds action of provided type or a type inherited from it.
CallActionsOnMessage
proto external bool CallActionsOnMessage(AIMessage msg)
EAIActionState
EAIActionState
Definition: EAIActionState.c:12