|
Arma Reforger Script API
|
Public Member Functions | |
| string m_SmartActionTag void | SCR_AIPerformActionActivity (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, IEntity entity, string tag, float priority=PRIORITY_ACTIVITY_PERFORM_ACTION, float priorityLevel=PRIORITY_LEVEL_NORMAL) |
| override string | GetActionDebugInfo () |
Public Member Functions inherited from SCR_AIActivityBase | |
| array< ref SCR_AIActivityFeatureBase > | GetActivityFeatures () |
| SCR_AIActivityFeatureBase | FindActivityFeature (TypeName featureType) |
| void | InitParameters (AIWaypoint relatedWaypoint) |
| void | SCR_AIActivityBase (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint) |
| void | Fail (bool doNotCompleteWaypoint) |
| This is an overload of basic Fail() method, since we need to pass extra information regarding related waypoint. | |
| void | OnChildBehaviorFinished (SCR_AIBehaviorBase childBehavior) |
| void | OnChildBehaviorCreated (SCR_AIBehaviorBase childBehavior) |
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. | |
| int | GetCause () |
| Returns cause value, used for SCR_AISetting. | |
| override void | OnSetActionState (EAIActionState state) |
| override void | OnSetSuspended (bool suspended) |
| override void | OnComplete () |
| override void | OnFail () |
| override void | OnActionRemoved () |
| 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 AIActionBase | GetRelatedGroupActivity () |
| proto external void | SetRelatedGroupActivity (AIActionBase related) |
| float | CustomEvaluate () |
| bool | OnMessage (AIMessage msg) |
Public Attributes | |
| IEntity | m_SmartActionObject |
Public Attributes inherited from SCR_AIActivityBase | |
| SCR_AIGroupUtilityComponent | m_Utility |
| ref SCR_BTParam< bool > | m_bIsWaypointRelated = new SCR_BTParam<bool>(SCR_AIActionTask.WAYPOINT_RELATED_PORT) |
| AIWaypoint | m_RelatedWaypoint = null |
| bool | m_bAllowFireteamRebalance = true |
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 = {} |
| string m_SmartActionTag void SCR_AIPerformActionActivity.SCR_AIPerformActionActivity | ( | SCR_AIGroupUtilityComponent | utility, |
| AIWaypoint | relatedWaypoint, | ||
| IEntity | entity, | ||
| string | tag, | ||
| float | priority = PRIORITY_ACTIVITY_PERFORM_ACTION, | ||
| float | priorityLevel = PRIORITY_LEVEL_NORMAL ) |
| override string SCR_AIPerformActionActivity.GetActionDebugInfo | ( | ) |
Implements SCR_AIActionBase.
| IEntity SCR_AIPerformActionActivity.m_SmartActionObject |