|
Arma Reforger Script API
|
Public Member Functions | |
| void | SCR_AIMoveAndInvestigateBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector pos, float priority=PRIORITY_BEHAVIOR_MOVE_AND_INVESTIGATE, float priorityLevel=PRIORITY_LEVEL_NORMAL, float radius=10, bool isDangerous=true, EAIUnitType targetUnitType=EAIUnitType.UnitType_Infantry, float duration=10.0) |
| override void | OnActionSelected () |
Public Member Functions inherited from SCR_AIMoveBehaviorBase | |
| void | SCR_AIMoveBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector pos, float priority=PRIORITY_BEHAVIOR_MOVE, float priorityLevel=PRIORITY_LEVEL_NORMAL) |
| override int | GetCause () |
| Returns cause value, used for SCR_AISetting. | |
Public Member Functions inherited from SCR_AIBehaviorBase | |
| void | SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
| SCR_AIActivityBase | GetGroupActivityContext () |
| override void | OnActionFailed () |
| override void | OnActionCompleted () |
Public Member Functions inherited from SCR_AIActionBase | |
| override float | EvaluatePriorityLevel () |
| void | SetPriorityLevel (int priority) |
| EAIActionFailReason | GetFailReason () |
| void | SetFailReason (EAIActionFailReason failReason) |
| Fail reason is an optional value which can be used to figure out why action failed. | |
| 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 | OnActionDeselected () |
| void | OnActionExecuted () |
| 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 AIActionBase | GetRelatedGroupActivity () |
| proto external void | SetRelatedGroupActivity (AIActionBase related) |
| float | CustomEvaluate () |
| bool | OnMessage (AIMessage msg) |
Public Attributes | |
| ref SCR_BTParam< bool > | m_bIsDangerous = new SCR_BTParam<bool>(SCR_AIActionTask.IS_DANGEROUS_PORT) |
| ref SCR_BTParam< float > | m_fRadius = new SCR_BTParam<float>(SCR_AIActionTask.RADIUS_PORT) |
| ref SCR_BTParam< bool > | m_bResetTimer = new SCR_BTParam<bool>(SCR_AIActionTask.RESET_TIMER_PORT) |
| ref SCR_BTParam< float > | m_fTimeOut = new SCR_BTParam<float>(SCR_AIActionTask.TIMEOUT_PORT) |
| ref SCR_BTParam< float > | m_fDuration = new SCR_BTParam<float>("Duration") |
| ref SCR_BTParam< vector > | m_vStartPos = new SCR_BTParam<vector>("StartPos") |
| EAIUnitType | m_eTargetUnitType |
| float | m_fTimeStamp |
| bool | m_bCanTimeout = true |
Public Attributes inherited from SCR_AIMoveBehaviorBase | |
| ref SCR_BTParam< vector > | m_vPosition = new SCR_BTParam<vector>(SCR_AIActionTask.POSITION_PORT) |
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 |
| ref ScriptInvoker | m_OnActionCompleted = new ScriptInvoker() |
| ref ScriptInvoker | m_OnActionFailed = new ScriptInvoker() |
| ref array< SCR_BTParamBase > | m_aParams = {} |
Static Protected Attributes | |
| static const float | INVESTIGATION_TIMEOUT_MS = 20000 |
| void SCR_AIMoveAndInvestigateBehavior.SCR_AIMoveAndInvestigateBehavior | ( | SCR_AIUtilityComponent | utility, |
| SCR_AIActivityBase | groupActivity, | ||
| vector | pos, | ||
| float | priority = PRIORITY_BEHAVIOR_MOVE_AND_INVESTIGATE, | ||
| float | priorityLevel = PRIORITY_LEVEL_NORMAL, | ||
| float | radius = 10, | ||
| bool | isDangerous = true, | ||
| EAIUnitType | targetUnitType = EAIUnitType::UnitType_Infantry, | ||
| float | duration = 10::0 ) |
| override void SCR_AIMoveAndInvestigateBehavior.OnActionSelected | ( | ) |
Implements SCR_AIBehaviorBase.
|
staticprotected |
| bool SCR_AIMoveAndInvestigateBehavior.m_bCanTimeout = true |
| ref SCR_BTParam<bool> SCR_AIMoveAndInvestigateBehavior.m_bIsDangerous = new SCR_BTParam<bool>(SCR_AIActionTask.IS_DANGEROUS_PORT) |
| ref SCR_BTParam<bool> SCR_AIMoveAndInvestigateBehavior.m_bResetTimer = new SCR_BTParam<bool>(SCR_AIActionTask.RESET_TIMER_PORT) |
| EAIUnitType SCR_AIMoveAndInvestigateBehavior.m_eTargetUnitType |
| ref SCR_BTParam<float> SCR_AIMoveAndInvestigateBehavior.m_fDuration = new SCR_BTParam<float>("Duration") |
| ref SCR_BTParam<float> SCR_AIMoveAndInvestigateBehavior.m_fRadius = new SCR_BTParam<float>(SCR_AIActionTask.RADIUS_PORT) |
| ref SCR_BTParam<float> SCR_AIMoveAndInvestigateBehavior.m_fTimeOut = new SCR_BTParam<float>(SCR_AIActionTask.TIMEOUT_PORT) |
| float SCR_AIMoveAndInvestigateBehavior.m_fTimeStamp |
| ref SCR_BTParam<vector> SCR_AIMoveAndInvestigateBehavior.m_vStartPos = new SCR_BTParam<vector>("StartPos") |