Arma Reforger Script API
|
Public Member Functions | |
void | InitParameters (BaseTarget target, float waitTime) |
override void | OnActionSelected () |
override void | OnActionDeselected () |
override void | OnActionCompleted () |
override void | OnActionFailed () |
override string | GetActionDebugInfo () |
void | SCR_AIAttackBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, BaseTarget target, BaseTarget prevTarget, float priorityLevel=PRIORITY_LEVEL_NORMAL) |
override float | CustomEvaluate () |
void | EnableFriendlyFireCheck (bool enable) |
Public Member Functions inherited from SCR_AIBehaviorBase | |
void | SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
SCR_AIActivityBase | GetGroupActivityContext () |
override void | OnActionSelected () |
Public Member Functions inherited from SCR_AIActionBase | |
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 | |
ref Shape | m_Shape |
ref SCR_BTParamRef< BaseTarget > | m_Target = new SCR_BTParamRef<BaseTarget>(SCR_AIActionTask.TARGET_PORT) |
ref SCR_BTParam< vector > | m_vInitialDirToTgt = new SCR_BTParam<vector>("InitialDirToTgt") |
ref SCR_BTParam< float > | m_fWaitTime = new SCR_BTParam<float>("WaitTime") |
SCR_AIWorld | m_AIWorld |
SCR_AICombatComponent | m_CombatComponent |
bool | m_bSelected = false |
bool | m_bCloseRange = false |
Public Attributes inherited from SCR_AIBehaviorBase | |
SCR_AIUtilityComponent | m_Utility |
float | m_fThreat = 0.0 |
bool | m_bAllowLook = true |
bool | m_bResetLook = false |
bool | m_bUseCombatMove = false |
Public Attributes inherited from SCR_AIActionBase | |
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 Member Functions | |
void | InitWaitTime (SCR_AIUtilityComponent utility) |
Static Protected Attributes | |
static const float | WAIT_TIME_UNEXPECTED = 0.25 |
static const float | WAIT_TIME_OVERTHREATENED = 0.8 |
void SCR_AIAttackBehavior.SCR_AIAttackBehavior | ( | SCR_AIUtilityComponent | utility, |
SCR_AIActivityBase | groupActivity, | ||
BaseTarget | target, | ||
BaseTarget | prevTarget, | ||
float | priorityLevel = PRIORITY_LEVEL_NORMAL |
||
) |
override float SCR_AIAttackBehavior.CustomEvaluate | ( | ) |
Implements AIActionBase.
void SCR_AIAttackBehavior.EnableFriendlyFireCheck | ( | bool | enable | ) |
override string SCR_AIAttackBehavior.GetActionDebugInfo | ( | ) |
Implements SCR_AIActionBase.
void SCR_AIAttackBehavior.InitParameters | ( | BaseTarget | target, |
float | waitTime | ||
) |
|
protected |
override void SCR_AIAttackBehavior.OnActionCompleted | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AIAttackBehavior.OnActionDeselected | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AIAttackBehavior.OnActionFailed | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AIAttackBehavior.OnActionSelected | ( | ) |
Implements SCR_AIBehaviorBase.
SCR_AIWorld SCR_AIAttackBehavior.m_AIWorld |
bool SCR_AIAttackBehavior.m_bCloseRange = false |
bool SCR_AIAttackBehavior.m_bSelected = false |
SCR_AICombatComponent SCR_AIAttackBehavior.m_CombatComponent |
ref SCR_BTParam<float> SCR_AIAttackBehavior.m_fWaitTime = new SCR_BTParam<float>("WaitTime") |
ref Shape SCR_AIAttackBehavior.m_Shape |
ref SCR_BTParamRef<BaseTarget> SCR_AIAttackBehavior.m_Target = new SCR_BTParamRef<BaseTarget>(SCR_AIActionTask.TARGET_PORT) |
ref SCR_BTParam<vector> SCR_AIAttackBehavior.m_vInitialDirToTgt = new SCR_BTParam<vector>("InitialDirToTgt") |
|
staticprotected |
|
staticprotected |