32 proto external
void FindActionsOfType(
typename actionType, notnull array<ref AIActionBase> outActions);
37 proto external
void GetActions(notnull array<ref AIActionBase> outActions);
Base class for all messages related to AI.
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.
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.