Arma Reforger Script API
|
Public Member Functions | |
void | SCR_AIAvoidCharacterBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector targetPos, vector targetVelocity) |
override void | OnActionSelected () |
SCR_EAICombatMoveDirection | ResolveMoveDirection () |
void | OnMovementCompleted (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequestBase request) |
void | OnMovementFailed (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequestBase request, SCR_EAICombatMoveRequestFailReason failReason) |
void | OnTimeout () |
override SCR_EAIBehaviorCause | GetCause () |
Returns cause value, used for SCR_AISetting. | |
![]() | |
void | SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
SCR_AIActivityBase | GetGroupActivityContext () |
override void | OnActionFailed () |
override void | OnActionCompleted () |
![]() | |
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 | GetActionDebugInfo () |
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". | |
![]() | |
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 Attributes | |
vector | m_vTargetPos |
vector | m_vTargetVelocity |
![]() | |
ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
EAIActionFailReason | m_eFailReason |
Static Protected Attributes | |
const float | MOVE_DURATION_S = 0.5 |
void SCR_AIAvoidCharacterBehavior.SCR_AIAvoidCharacterBehavior | ( | SCR_AIUtilityComponent | utility, |
SCR_AIActivityBase | groupActivity, | ||
vector | targetPos, | ||
vector | targetVelocity ) |
override SCR_EAIBehaviorCause SCR_AIAvoidCharacterBehavior.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_AIAvoidCharacterBehavior.OnActionSelected | ( | ) |
Implements SCR_AIBehaviorBase.
void SCR_AIAvoidCharacterBehavior.OnMovementCompleted | ( | SCR_AIUtilityComponent | utility, |
SCR_AICombatMoveRequestBase | request ) |
void SCR_AIAvoidCharacterBehavior.OnMovementFailed | ( | SCR_AIUtilityComponent | utility, |
SCR_AICombatMoveRequestBase | request, | ||
SCR_EAICombatMoveRequestFailReason | failReason ) |
void SCR_AIAvoidCharacterBehavior.OnTimeout | ( | ) |
SCR_EAICombatMoveDirection SCR_AIAvoidCharacterBehavior.ResolveMoveDirection | ( | ) |
|
protected |
|
protected |
|
staticprotected |