Arma Reforger Script API
|
Special behavior for pilot when he's about to collide with another vehicle. More...
Public Member Functions | |
void | SCR_AIPilotMoveFromIncomingVehicleBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity) |
override void | OnActionSelected () |
![]() | |
void | InitParameters (IEntity dangerEntity, vector dangerPos) |
override int | GetCause () |
Returns cause value, used for SCR_AISetting. | |
void | SCR_AIMoveFromDangerBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity) |
![]() | |
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) |
Public Attributes | |
ref SCR_BTParam< vector > | m_vMovePos = new SCR_BTParam<vector>("MovePos") |
![]() | |
ref SCR_BTParam< vector > | m_DangerPosition = new SCR_BTParam<vector>("DangerPosition") |
ref SCR_BTParam< IEntity > | m_DangerEntity = new SCR_BTParam<IEntity>("DangerEntity") |
ref SCR_BTParam< ECharacterStance > | m_Stance = new SCR_BTParam<ECharacterStance>("CharacterStance") |
ref SCR_BTParam< EMovementType > | m_MovementType = new SCR_BTParam<EMovementType>("MovementType") |
![]() | |
SCR_AIUtilityComponent | m_Utility |
float | m_fThreat = 0.0 |
bool | m_bAllowLook = true |
bool | m_bResetLook = false |
bool | m_bUseCombatMove = false |
![]() | |
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 = {} |
Static Protected Attributes | |
const float | EXTRAPOLATE_POS_FORWARD_TIME_S = 0.2 |
const float | SIDE_STEP_LEN = 8 |
const float | SIDE_STEP_FORWARD = 12 |
Special behavior for pilot when he's about to collide with another vehicle.
void SCR_AIPilotMoveFromIncomingVehicleBehavior.SCR_AIPilotMoveFromIncomingVehicleBehavior | ( | SCR_AIUtilityComponent | utility, |
SCR_AIActivityBase | groupActivity, | ||
vector | dangerPos, | ||
IEntity | dangerEntity ) |
override void SCR_AIPilotMoveFromIncomingVehicleBehavior.OnActionSelected | ( | ) |
Implements SCR_AIBehaviorBase.
|
staticprotected |
ref SCR_BTParam<vector> SCR_AIPilotMoveFromIncomingVehicleBehavior.m_vMovePos = new SCR_BTParam<vector>("MovePos") |
|
staticprotected |
|
staticprotected |