|
Arma Reforger Script API
|
Public Member Functions | |
| void | SCR_AIFireIllumFlareBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector targetPosition, BaseWeaponComponent weaponComponent, BaseMagazineComponent magazineComponent, int muzzleId, float priority=PRIORITY_BEHAVIOR_FIRE_ILLUM_FLARE, float priorityLevel=PRIORITY_LEVEL_NORMAL) |
| override int | GetCause () |
| Returns cause value, used for SCR_AISetting. | |
| override void | OnActionSelected () |
| override void | OnActionCompleted () |
| override void | OnActionFailed () |
| override string | GetActionDebugInfo () |
| void | DrawPositionDebug () |
Public Member Functions inherited from SCR_AIBehaviorBase | |
| void | SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
| SCR_AIActivityBase | GetGroupActivityContext () |
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 | 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< vector > | m_vTargetPosition = new SCR_BTParam<vector>(SCR_AIActionTask.TARGETPOSITION_PORT) |
| ref SCR_BTParam< BaseWeaponComponent > | m_WeaponComponent = new SCR_BTParam<BaseWeaponComponent>(SCR_AIActionTask.WEAPON_COMP_PORT) |
| ref SCR_BTParam< BaseMagazineComponent > | m_MagazineComponent = new SCR_BTParam<BaseMagazineComponent>(SCR_AIActionTask.MAGAZINE_COMP_PORT) |
| ref SCR_BTParam< int > | m_iMuzzleId = new SCR_BTParam<int>(SCR_AIActionTask.MUZZLE_ID) |
| ref array< ref Shape > | m_aDbgShapes = {} |
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 = {} |
| void SCR_AIFireIllumFlareBehavior.SCR_AIFireIllumFlareBehavior | ( | SCR_AIUtilityComponent | utility, |
| SCR_AIActivityBase | groupActivity, | ||
| vector | targetPosition, | ||
| BaseWeaponComponent | weaponComponent, | ||
| BaseMagazineComponent | magazineComponent, | ||
| int | muzzleId, | ||
| float | priority = PRIORITY_BEHAVIOR_FIRE_ILLUM_FLARE, | ||
| float | priorityLevel = PRIORITY_LEVEL_NORMAL ) |
| void SCR_AIFireIllumFlareBehavior.DrawPositionDebug | ( | ) |
| override string SCR_AIFireIllumFlareBehavior.GetActionDebugInfo | ( | ) |
Implements SCR_AIActionBase.
| override int SCR_AIFireIllumFlareBehavior.GetCause | ( | ) |
Returns cause value, used for SCR_AISetting.
The return value should tell for which reason this action is being executed, to decide if certain SCR_AISetting can be applied when this action runs, or not.
Implements SCR_AIActionBase.
| override void SCR_AIFireIllumFlareBehavior.OnActionCompleted | ( | ) |
Implements SCR_AIBehaviorBase.
| override void SCR_AIFireIllumFlareBehavior.OnActionFailed | ( | ) |
Implements SCR_AIBehaviorBase.
| override void SCR_AIFireIllumFlareBehavior.OnActionSelected | ( | ) |
Implements SCR_AIBehaviorBase.
| ref array<ref Shape> SCR_AIFireIllumFlareBehavior.m_aDbgShapes = {} |
| ref SCR_BTParam<int> SCR_AIFireIllumFlareBehavior.m_iMuzzleId = new SCR_BTParam<int>(SCR_AIActionTask.MUZZLE_ID) |
| ref SCR_BTParam<BaseMagazineComponent> SCR_AIFireIllumFlareBehavior.m_MagazineComponent = new SCR_BTParam<BaseMagazineComponent>(SCR_AIActionTask.MAGAZINE_COMP_PORT) |
| ref SCR_BTParam<vector> SCR_AIFireIllumFlareBehavior.m_vTargetPosition = new SCR_BTParam<vector>(SCR_AIActionTask.TARGETPOSITION_PORT) |
| ref SCR_BTParam<BaseWeaponComponent> SCR_AIFireIllumFlareBehavior.m_WeaponComponent = new SCR_BTParam<BaseWeaponComponent>(SCR_AIActionTask.WEAPON_COMP_PORT) |