Arma Reforger Script API
|
Base class for all group activities which are related to fireteams. More...
Public Member Functions | |
void | SCR_AIFireteamsActivity (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint,) |
void | ~SCR_AIFireteamsActivity () |
override void | OnActionRemoved () |
void | GetAssignedFireteams (notnull TFireteamLockRefArray outFireteams) |
void | OnAssignedFireteamsEmpty () |
Override in inherited classes to do something when all fireteams are gone. | |
void | OnFireteamRemovedFromGroup (SCR_AIGroupFireteam ft) |
Override in inherited classes to do something on fireteam deletion It is called only for registered fireteams. | |
override string | GetDebugPanelText () |
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) |
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 () |
Protected Member Functions | |
void | RegisterFireteam (notnull SCR_AIGroupFireteamLock ftLock) |
Registers fireteam within this activity. | |
void | UnregisterFireteam (notnull SCR_AIGroupFireteamLock ftLock) |
void | UnregisterFireteam (notnull SCR_AIGroupFireteam ft) |
Protected Member Functions inherited from SCR_AIActivityBase | |
void | SendCancelMessagesToAllAgents () |
Protected Attributes | |
ref TFireteamLockRefArray | m_aAssignedFireteams = {} |
Protected Attributes inherited from SCR_AIActionBase | |
ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
Base class for all group activities which are related to fireteams.
When an activity of this (or inherited) class exists, it prevents group from rebalancing fireteams. When there are no fireteams left, it fails.
void SCR_AIFireteamsActivity.SCR_AIFireteamsActivity | ( | SCR_AIGroupUtilityComponent | utility, |
AIWaypoint | relatedWaypoint | ||
) |
void SCR_AIFireteamsActivity.~SCR_AIFireteamsActivity | ( | ) |
void SCR_AIFireteamsActivity.GetAssignedFireteams | ( | notnull TFireteamLockRefArray | outFireteams | ) |
override string SCR_AIFireteamsActivity.GetDebugPanelText | ( | ) |
Implements SCR_AIActionBase.
Implemented in SCR_AIAttackClusterActivity, SCR_AIDefendFromClusterActivity, and SCR_AIInvestigateClusterActivity.
override void SCR_AIFireteamsActivity.OnActionRemoved | ( | ) |
Implements SCR_AIActionBase.
Implemented in SCR_AIAttackClusterActivity, and SCR_AIInvestigateClusterActivity.
void SCR_AIFireteamsActivity.OnAssignedFireteamsEmpty | ( | ) |
Override in inherited classes to do something when all fireteams are gone.
void SCR_AIFireteamsActivity.OnFireteamRemovedFromGroup | ( | SCR_AIGroupFireteam | ft | ) |
Override in inherited classes to do something on fireteam deletion It is called only for registered fireteams.
Implemented in SCR_AIAttackClusterActivity, SCR_AIDefendFromClusterActivity, and SCR_AIInvestigateClusterActivity.
|
protected |
Registers fireteam within this activity.
|
protected |
|
protected |
|
protected |