Arma Reforger Script API
|
Public Member Functions | |
void | SendMessage (AIMessage msg, AIAgent receiver=null) |
int | DiagGetCounter () |
void | DiagIncreaseCounter () |
void | DiagSetBreakpoint () |
Public Member Functions inherited from AIBaseUtilityComponent | |
proto external AIActionBase | EvaluateActions () |
Evaluate all actions and return the highest evaluated action which is not suspended. Returns nullptr if none found. | |
proto external void | AddAction (AIActionBase action) |
Adds an action. | |
proto external bool | RemoveObsoleteActions () |
Removes actions which are failed or completed. | |
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 bool | HasActionOfType (TypeName actionType) |
Returns true when there is an action of exactly this type. | |
proto external AIActionBase | FindActionOfType (TypeName actionType) |
Finds 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 | FindActionsOfType (TypeName actionType, notnull array< ref AIActionBase > outActions) |
proto external void | FindActionsOfInheritedType (TypeName actionType, notnull array< ref AIActionBase > outActions) |
proto external void | SetStateOfRelatedAction (AIActionBase relatedAction, EAIActionState state) |
proto external bool | CallActionsOnMessage (AIMessage msg) |
proto external void | GetActions (notnull array< ref AIActionBase > outActions) |
proto external ref AIActionBase | GetCurrentAction () |
proto external void | SetCurrentAction (AIActionBase executed) |
proto external ref AIActionBase | GetExecutedAction () |
proto external void | SetExecutedAction (AIActionBase executed) |
proto external AIAgent | GetOwner () |
void | EOnInit (IEntity owner) |
void | OnPostInit (IEntity owner) |
void | EOnDeactivate (IEntity owner) |
void | EOnDiag (IEntity owner, float timeSlice) |
void | EOnActivate (IEntity owner) |
int SCR_AIBaseUtilityComponent.DiagGetCounter | ( | ) |
void SCR_AIBaseUtilityComponent.DiagIncreaseCounter | ( | ) |
void SCR_AIBaseUtilityComponent.DiagSetBreakpoint | ( | ) |
void SCR_AIBaseUtilityComponent.SendMessage | ( | AIMessage | msg, |
AIAgent | receiver = null |
||
) |
[in] | msg | |
[in] | receiver |