Arma Reforger Script API
|
Public Member Functions | |
override float | EvaluatePriorityLevel () |
void | SetPriorityLevel (int priority) |
override void | OnSetActionState (EAIActionState state) |
override void | OnSetSuspended (bool suspended) |
override void | OnComplete () |
override void | OnFail () |
override void | OnActionRemoved () |
string | GetActionDebugInfo () |
string | GetDebugPanelText () |
override void | OnActionSelected () |
override void | OnActionDeselected () |
void | OnActionExecuted () |
void | OnActionCompleted () |
void | OnActionFailed () |
bool | IsActionInterruptable () |
void | SetActionInterruptable (bool IsInterruptable) |
void | SetParametersToBTVariables (SCR_AIActionTask node) |
void | GetParametersFromBTVariables (SCR_AIActionTask node) |
TStringArray | GetPortNames () |
float | GetRestrictedPriorityLevel (float minimumLevel=PRIORITY_LEVEL_NORMAL) |
Limits priority level for actions such that those are performed in "NORMAL" and "PLAYER" priority level but not in "GAMEMASTER". | |
Public Member Functions inherited from AIActionBase | |
proto external float | Evaluate () |
proto external float | GetPriority () |
proto external void | SetPriority (float priority) |
proto external bool | GetActionIsSuspended () |
proto external void | SetActionIsSuspended (bool val) |
proto external bool | GetIsUniqueInActionQueue () |
proto external void | SetIsUniqueInActionQueue (bool unique) |
proto external EAIActionState | GetActionState () |
proto external void | SetActionState (EAIActionState state) |
proto external void | Fail () |
proto external void | Complete () |
proto external bool | GetRemoveAction () |
proto external void | SetRemoveAction (bool val) |
proto external ref AIActionBase | GetRelatedGroupActivity () |
proto external void | SetRelatedGroupActivity (AIActionBase related) |
float | CustomEvaluate () |
float | EvaluatePriorityLevel () |
void | OnSetSuspended (bool suspended) |
void | OnSetActionState (EAIActionState state) |
void | OnFail () |
void | OnComplete () |
bool | OnMessage (AIMessage msg) |
void | OnActionSelected () |
void | OnActionDeselected () |
void | OnActionRemoved () |
Public Attributes | |
bool | m_bIsInterruptable = true |
ResourceName | m_sBehaviorTree |
ResourceName | m_sAbortBehaviorTree |
ref ScriptInvoker | m_OnActionCompleted = new ScriptInvoker() |
ref ScriptInvoker | m_OnActionFailed = new ScriptInvoker() |
ref array< SCR_BTParamBase > | m_aParams = {} |
Protected Attributes | |
ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
override float SCR_AIActionBase.EvaluatePriorityLevel | ( | ) |
Implements AIActionBase.
string SCR_AIActionBase.GetActionDebugInfo | ( | ) |
Implemented in SCR_AIAnimateActivity, SCR_AIAttackBehavior, SCR_AIDefendActivity, SCR_AIDefendBehavior, SCR_AIFireIllumFlareBehavior, SCR_AIFollowActivity, SCR_AIGetInActivity, SCR_AIGetOutActivity, SCR_AIHealActivity, SCR_AIMoveActivity, SCR_AISeekAndDestroyActivity, SCR_AIMoveIndividuallyBehavior, SCR_AIPerformActionActivity, SCR_AIPerformActionBehavior, SCR_AIResupplyActivity, SCR_AIThrowGrenadeToBehavior, SCR_AIGetInVehicle, and SCR_AIGetOutVehicle.
string SCR_AIActionBase.GetDebugPanelText | ( | ) |
void SCR_AIActionBase.GetParametersFromBTVariables | ( | SCR_AIActionTask | node | ) |
TStringArray SCR_AIActionBase.GetPortNames | ( | ) |
float SCR_AIActionBase.GetRestrictedPriorityLevel | ( | float | minimumLevel = PRIORITY_LEVEL_NORMAL | ) |
Limits priority level for actions such that those are performed in "NORMAL" and "PLAYER" priority level but not in "GAMEMASTER".
bool SCR_AIActionBase.IsActionInterruptable | ( | ) |
void SCR_AIActionBase.OnActionCompleted | ( | ) |
Implemented in SCR_AIAttackClusterActivity, SCR_AIInvestigateClusterActivity, SCR_AIAnimateBehavior, SCR_AIAttackBehavior, SCR_AIDefendActivity, SCR_AIFireIllumFlareBehavior, SCR_AIFollowActivity, SCR_AIGetInActivity, SCR_AIGetOutActivity, SCR_AIHealBehavior, SCR_AIHealWaitBehavior, SCR_AIMedicHealBehavior, SCR_AIMoveActivity, SCR_AIMoveFromGrenadeBehavior, SCR_AIPickupInventoryItemsBehavior, SCR_AIProvideAmmoBehavior, SCR_AIThrowGrenadeToBehavior, SCR_AIVehicleBehavior, and SCR_AIGetInVehicle.
override void SCR_AIActionBase.OnActionDeselected | ( | ) |
Implements AIActionBase.
Implemented in SCR_AIAttackClusterActivity, SCR_AIDefendFromClusterActivity, SCR_AIInvestigateClusterActivity, SCR_AIAttackBehavior, SCR_AICompositeActionParallel, SCR_AIDefendActivity, SCR_AIFollowActivity, SCR_AIGetInActivity, SCR_AIMoveActivity, SCR_AISuppressActivity, and SCR_AIVehicleCombatActivity.
void SCR_AIActionBase.OnActionExecuted | ( | ) |
void SCR_AIActionBase.OnActionFailed | ( | ) |
Implemented in SCR_AIAttackClusterActivity, SCR_AIInvestigateClusterActivity, SCR_AIAnimateActivity, SCR_AIAnimateBehavior, SCR_AIAttackBehavior, SCR_AIDefendActivity, SCR_AIFireIllumFlareBehavior, SCR_AIFollowActivity, SCR_AIGetInActivity, SCR_AIMedicHealBehavior, SCR_AIMoveActivity, SCR_AIPerformActionBehavior, SCR_AIPickupInventoryItemsBehavior, SCR_AIProvideAmmoBehavior, SCR_AIThrowGrenadeToBehavior, SCR_AIVehicleBehavior, and SCR_AIGetInVehicle.
override void SCR_AIActionBase.OnActionRemoved | ( | ) |
Implements AIActionBase.
Implemented in SCR_AIAttackClusterActivity, SCR_AIInvestigateClusterActivity, SCR_AICompositeActionParallel, and SCR_AIFireteamsActivity.
override void SCR_AIActionBase.OnActionSelected | ( | ) |
Implements AIActionBase.
Implemented in SCR_AIAttackClusterActivity, SCR_AIDefendFromClusterActivity, SCR_AIInvestigateClusterActivity, SCR_AIAnimateActivity, SCR_AIAnimateBehavior, SCR_AIAttackBehavior, SCR_AIBehaviorBase, SCR_AIIdleBehavior, SCR_AICompositeActionParallel, SCR_AIFindFirePositionBehavior, SCR_AIFireIllumFlareBehavior, SCR_AIGetInActivity, SCR_AIMedicHealBehavior, SCR_AIMoveAndInvestigateBehavior, SCR_AIMoveFromUnknownFire, SCR_AIPilotMoveFromIncomingVehicleBehavior, SCR_AIObserveUnknownFireBehavior, SCR_AIThrowGrenadeToBehavior, SCR_AIVehicleBehavior, and SCR_AIVehicleCombatActivity.
override void SCR_AIActionBase.OnComplete | ( | ) |
Implements AIActionBase.
override void SCR_AIActionBase.OnFail | ( | ) |
Implements AIActionBase.
Implemented in SCR_AIIdleBehavior_Driver.
override void SCR_AIActionBase.OnSetActionState | ( | EAIActionState | state | ) |
Implements AIActionBase.
override void SCR_AIActionBase.OnSetSuspended | ( | bool | suspended | ) |
Implements AIActionBase.
void SCR_AIActionBase.SetActionInterruptable | ( | bool | IsInterruptable | ) |
void SCR_AIActionBase.SetParametersToBTVariables | ( | SCR_AIActionTask | node | ) |
void SCR_AIActionBase.SetPriorityLevel | ( | int | priority | ) |
ref array<SCR_BTParamBase> SCR_AIActionBase.m_aParams = {} |
bool SCR_AIActionBase.m_bIsInterruptable = true |
|
protected |
ref ScriptInvoker SCR_AIActionBase.m_OnActionCompleted = new ScriptInvoker() |
ref ScriptInvoker SCR_AIActionBase.m_OnActionFailed = new ScriptInvoker() |
ResourceName SCR_AIActionBase.m_sAbortBehaviorTree |
ResourceName SCR_AIActionBase.m_sBehaviorTree |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |