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 () |
![]() | |
array< ref SCR_AIActivityFeatureBase > | GetActivityFeatures () |
SCR_AIActivityFeatureBase | FindActivityFeature (TypeName featureType) |
void | InitParameters (AIWaypoint relatedWaypoint) |
void | SCR_AIActivityBase (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint) |
void | OnChildBehaviorFinished (SCR_AIBehaviorBase childBehavior) |
void | OnChildBehaviorCreated (SCR_AIBehaviorBase childBehavior) |
![]() | |
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 () |
string | GetActionDebugInfo () |
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". | |
![]() | |
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 () |
bool | OnMessage (AIMessage msg) |
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) |
![]() | |
void | SendCancelMessagesToAllAgents () |
Protected Attributes | |
ref TFireteamLockRefArray | m_aAssignedFireteams = {} |
![]() | |
ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
EAIActionFailReason | m_eFailReason |
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 |