Arma Reforger Script API
|
Public Member Functions | |
void | InitParameters (vector position, IEntity entity) |
void | SCR_AISearchAndDestroyActivity (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, vector pos, IEntity ent, EMovementType movementType=EMovementType.RUN, bool useVehicles=false, float priority=PRIORITY_ACTIVITY_SEEK_AND_DESTROY, float priorityLevel=PRIORITY_LEVEL_NORMAL) |
override void | OnActionSelected () |
override float | CustomEvaluate () |
override void | OnChildBehaviorFinished (SCR_AIBehaviorBase childBehavior) |
override void | OnActionFailed () |
override void | OnActionDeselected () |
override string | GetActionDebugInfo () |
![]() | |
array< ref SCR_AIActivityFeatureBase > | GetActivityFeatures () |
SCR_AIActivityFeatureBase | FindActivityFeature (TypeName featureType) |
void | InitParameters (AIWaypoint relatedWaypoint) |
void | SCR_AIActivityBase (SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint) |
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 () |
override void | OnActionRemoved () |
string | GetDebugPanelText () |
void | OnActionExecuted () |
void | OnActionCompleted () |
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) |
bool | OnMessage (AIMessage msg) |
Protected Member Functions | |
void | GenerateInvestigationGrid () |
bool | LoadTiles () |
void | AdjustInvestigationPositions () |
void | AssignInvestigationPositions (SCR_AIGroupFireteam ft) |
void | OnWaypointPropertiesChanged () |
![]() | |
void | SendCancelMessagesToAllAgents () |
Protected Attributes | |
ref SCR_BTParamAssignable< vector > | m_vPosition = new SCR_BTParamAssignable<vector>(SCR_AIActionTask.POSITION_PORT) |
ref SCR_BTParam< IEntity > | m_Entity = new SCR_BTParam<IEntity>(SCR_AIActionTask.ENTITY_PORT) |
SCR_AIGroup | m_Group |
SCR_SearchAndDestroyWaypoint | m_WP |
AIPathfindingComponent | m_pathFindindingComp |
vector | m_vGridOrigin |
ref array< ref vector > | m_aTiles = {} |
bool | m_bAllTilesLoaded |
ref array< vector > | m_aCorrectedPositions = {} |
ref array< vector > | m_aAvailablePositions = {} |
ref array< vector > | m_aAssignedPositions = {} |
float | m_fHoldingTime = 600.0 |
float | m_fStartTime |
float | m_fTimeStamp |
ref array< ref Shape > | m_aDbgShape = {} |
![]() | |
ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
EAIActionFailReason | m_eFailReason |
Static Protected Attributes | |
const float | m_fBehaviorRadius = 3 |
void SCR_AISearchAndDestroyActivity.SCR_AISearchAndDestroyActivity | ( | SCR_AIGroupUtilityComponent | utility, |
AIWaypoint | relatedWaypoint, | ||
vector | pos, | ||
IEntity | ent, | ||
EMovementType | movementType = EMovementType::RUN, | ||
bool | useVehicles = false, | ||
float | priority = PRIORITY_ACTIVITY_SEEK_AND_DESTROY, | ||
float | priorityLevel = PRIORITY_LEVEL_NORMAL ) |
|
protected |
|
protected |
override float SCR_AISearchAndDestroyActivity.CustomEvaluate | ( | ) |
Implements AIActionBase.
|
protected |
override string SCR_AISearchAndDestroyActivity.GetActionDebugInfo | ( | ) |
Implements SCR_AIActionBase.
void SCR_AISearchAndDestroyActivity.InitParameters | ( | vector | position, |
IEntity | entity ) |
|
protected |
override void SCR_AISearchAndDestroyActivity.OnActionDeselected | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AISearchAndDestroyActivity.OnActionFailed | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AISearchAndDestroyActivity.OnActionSelected | ( | ) |
Implements SCR_AIActionBase.
override void SCR_AISearchAndDestroyActivity.OnChildBehaviorFinished | ( | SCR_AIBehaviorBase | childBehavior | ) |
Implements SCR_AIActivityBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |