Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AIBaseUtilityComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class 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);
39 proto external void SetCurrentAction(AIActionBase executed);
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
array< ref SCR_MenuActionPreset > GetActions()
Base class for all messages related to AI.
Definition AIMessage.c:14
proto external AIActionBase GetExecutedAction()
proto external bool CallActionsOnMessage(AIMessage msg)
proto external AIActionBase GetCurrentAction()
override void EOnActivate(IEntity owner)
IEntity GetOwner()
Owner entity of the fuel tank.
EAIActionState
override void EOnDiag(IEntity owner, float timeSlice)
proto external bool HasActionOfType(typename actionType)
Returns true when there is an action of exactly this type.
proto external AIActionBase FindActionOfInheritedType(typename actionType)
Finds action of provided type or a type inherited from it.
proto external void FindActionsOfInheritedType(typename actionType, notnull array< ref AIActionBase > outActions)
proto external void SetStateOfRelatedAction(AIActionBase relatedAction, EAIActionState state)
event void EOnDeactivate(IEntity owner)
AIBaseUtilityComponentClass AIComponentClass EvaluateActions()
Evaluate all actions and return the highest evaluated action which is not suspended....
proto external void SetExecutedAction(AIActionBase executed)
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.
proto external void AddAction(AIActionBase action)
Adds an action.
override void EOnInit(IEntity owner)
proto external bool RemoveObsoleteActions()
Removes actions which are failed or completed.
proto external void FindActionsOfType(typename actionType, notnull array< ref AIActionBase > outActions)
proto external void SetCurrentAction(AIActionBase executed)
proto external AIActionBase FindActionOfType(typename actionType)
Finds action of exactly this type.