Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_CharacterCommandHandlerComponent_Tests Interface Reference
Inheritance diagram for SCR_CharacterCommandHandlerComponent_Tests:
[legend]

Public Member Functions

override bool HandleDeath (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 
override bool HandleFinishedCommands (bool pCurrentCommandFinished)
 
override bool HandleSwimming (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
override bool HandleLadders (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
override bool HandleClimbing (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
override bool HandleFalling (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
override bool TransitionMove_JumpClimb (CharacterInputContext pInputCtx)
 
- Public Member Functions inherited from SCR_CharacterCommandHandlerComponent
override bool HandleMelee (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
override int SelectMeleeAnimationType ()
 
ScriptInvokerInt GetOnCommandActivate ()
 
override void OnCommandActivate (int pCmdId)
 
void StartCommandLoitering (SCR_LoiterCustomAnimData customAnimData)
 
void StopLoitering (bool terminateFast)
 
void Rpc_StopLoiter_S (bool terminateFast)
 
void BroadCastLoiterFinish ()
 
void RPC_FinishLoitering_BCNO ()
 
bool IsLoitering ()
 
- Public Member Functions inherited from CharacterCommandHandlerComponent
proto external IEntity GetCharacter ()
 
proto external CharacterControllerComponent GetControllerComponent ()
 Returns the current character controller component.
 
proto external void GetMovementState (out notnull CharacterMovementState pMovementState)
 gets some basic info about movement
 
proto external void AlignNewTurns ()
 
proto external bool IsVehicleSwitchingSeats ()
 
proto external bool IsWeaponADSAllowed (bool allowSprint)
 
proto external bool IsSprintingAllowed ()
 
proto external bool IsItemInspectionAllowed ()
 
proto external bool IsWeaponInspectionAllowed ()
 
proto external bool IsWeaponDeploymentAllowed ()
 
proto external bool IsThrowingAction ()
 
proto external bool IsProneStanceTransition ()
 
proto external bool IsUsingItem ()
 
proto external bool IsItemActionLoopTag ()
 
proto external void CancelItemUse ()
 
proto external void FinishItemUse ()
 
proto external bool WasMovement ()
 
proto external bool WasRotation ()
 
proto external CharacterCommandFall StartCommand_Fall (float pYVelocity)
 
proto external CharacterCommandLadder StartCommand_Ladder (LadderComponent pLadder)
 
proto external CharacterCommandVehicle StartCommand_Vehicle (BaseCompartmentSlot pCompartment)
 
proto external CharacterCommandMove StartCommand_Move ()
 
proto external CharacterCommandClimb StartCommand_Climb (CharacterCommandClimbResult pClimbResult, int pType)
 
proto external CharacterCommandSwim StartCommand_Swim ()
 
proto external CharacterCommandDamageFullBody StartCommand_DamageFullBody (float direction, int pType)
 
proto external CharacterCommandSlide StartCommand_Slide ()
 
proto external CharacterCommandDamage AddCommandModifier_Damage (float direction, int pType)
 
proto external void DeleteCommandModifier_Damage (CharacterCommandDamage pDamage)
 
proto external CharacterCommandMove GetCommandMove ()
 
proto external CharacterCommandFall GetCommandFall ()
 
proto external CharacterCommandClimb GetCommandClimb ()
 
proto external CharacterCommandVehicle GetCommandVehicle ()
 
proto external CharacterCommandLadder GetCommandLadder ()
 
proto external CharacterCommandDeath GetCommandModifier_Death ()
 
proto external CharacterCommandUnconscious GetCommandModifier_Unconscious ()
 
proto external CharacterCommandMelee GetCommandModifier_Melee ()
 
proto external CharacterCommandSwim GetCommandSwim ()
 
proto external CharacterCommandSlide GetCommandSlide ()
 
proto external CharacterCommandDamageFullBody GetCommandDamageFullBody ()
 
proto external CharacterCommandDamage GetCommandModifier_Damage ()
 
proto external CharacterCommandWeapon GetCommandModifier_Weapon ()
 
proto external CharacterCommandItemChange GetCommandModifier_ItemChange ()
 
proto external CharacterCommandItemUse GetCommandModifier_ItemUse ()
 
proto external CharacterCommandGadget GetCommandModifier_Gadget ()
 
proto external CharacterCommandMoveSettings GetDefaultCommandMoveSettings ()
 
proto external CharacterCommandMoveSettings GetCurrentCommandMoveSettings ()
 
proto external void SetCurrentCommandMoveSettings (CharacterCommandMoveSettings pCmdMoveSettings)
 
proto external CharacterCommandClimbSettings GetDefaultCommandClimbSettings ()
 
proto external CharacterCommandClimbSettings GetCurrentCommandClimbSettings ()
 
proto external void SetCurrentCommandClimbSettings (CharacterCommandClimbSettings pCmdClimbSettings)
 
proto external CharacterCommandSwimSettings GetDefaultCommandSwimSettings ()
 
proto external CharacterCommandSwimSettings GetCurrentCommandSwimSettings ()
 
proto external void SetCurrentCommandSwimSettings (CharacterCommandSwimSettings pCmdSwimSettings)
 
proto external LadderComponent GetTargetLadder ()
 Returns the current cached ladder.
 
proto external LadderComponent FindTargetLadder ()
 Returns the current ladder. Use carefully, you should use GetTargetLadder when it's possible.
 
proto external bool IsMovingInProne ()
 
proto external bool HandleFinishedCommandsDefault (bool pCurrentCommandFinished)
 default full body handlers
 
proto external bool HandleDeathDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 
proto external bool HandleUnconsciousDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleVehicleDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleSwimmingDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleLaddersDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleClimbingDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleMeleeDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleFallingDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleDamageHitDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleSlideDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponsDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 default additive handlers
 
proto external bool HandleThrowingDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleItemChangeDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleItemUseDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleItemGestureDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponObstructionDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponReloadingDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponADSDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponDeploymentDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleWeaponFireDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleLeftHandGadgetDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool HandleDynamicStanceDefault (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
proto external bool TransitionMove_JumpClimbDefault (CharacterInputContext pInputCtx)
 
proto external bool TransitionMove_SwimmingDefault (CharacterInputContext pInputCtx)
 
proto external bool TransitionMove_LadderDefault (CharacterInputContext pInputCtx)
 
proto external void DropLiveGrenadeFromHand (bool throwWithForce)
 
proto external void CancelThrowDefault ()
 
bool HandleFinishedCommands (bool pCurrentCommandFinished)
 
bool HandleDeath (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 
bool HandleUnconscious (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleVehicle (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleSwimming (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleLadders (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleClimbing (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleMelee (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleFalling (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleDamageHit (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleSlide (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeapons (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleThrowing (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleItemChange (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleItemUse (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleItemGesture (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeaponReloading (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeaponADS (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeaponDeployment (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeaponFire (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleWeaponObstruction (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleLeftHandGadget (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool HandleDynamicStance (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool TransitionMove_JumpClimb (CharacterInputContext pInputCtx)
 
bool TransitionMove_Swimming (CharacterInputContext pInputCtx)
 
bool TransitionMove_Ladder (CharacterInputContext pInputCtx)
 
bool SubhandlerStatesBegin (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool SubhandlerStatesEnd (CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
 
bool SubhandlerTransitionsMove (CharacterInputContext InputCtx)
 
int SelectMeleeAnimationType ()
 
- Public Member Functions inherited from BaseCommandHandlerComponent
proto external void SetSimulationDisabled (bool pSimulationDisabled)
 Sets the flag for disabling animation update.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

override void OnInit (IEntity owner)
 Called during EOnInit.
 
- Protected Member Functions inherited from SCR_CharacterCommandHandlerComponent
SCR_CharacterCommandLoiter GetLoiterCommand ()
 
override void OnInit (IEntity owner)
 Called during EOnInit.
 
- Protected Member Functions inherited from BaseCommandHandlerComponent
void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnCommandActivate (int pCmdId)
 
void OnCommandDeactivate (int pCmdId)
 
void Update (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 Overrides the whole native command handling.
 

Protected Attributes

ref SCR_CharacterCommandSwimST m_SwimST
 
ref SCR_CharacterCommandSwim m_SwimCommand
 
ref SCR_CharacterCommandFly m_FlyCommand
 
ref CharacterCommandSwimSettings m_SwimSettings = new CharacterCommandSwimSettings()
 
float m_fFallYDiff
 
- Protected Attributes inherited from SCR_CharacterCommandHandlerComponent
ChimeraCharacter m_OwnerEntity
 
ref CharacterMovementState m_MovementState
 
CharacterAnimationComponent m_CharacterAnimComp
 
CharacterControllerComponent m_CharacterControllerComp
 
SCR_MeleeComponent m_MeleeComponent
 
BaseWeaponManagerComponent m_WeaponManager
 
ref SCR_ScriptedCommandsStaticTable m_ScrStaticTable
 
ref SCR_CharacterCommandLoiter m_CmdLoiter
 
ref CharacterCommandMoveSettings m_MoveSettings = new CharacterCommandMoveSettings()
 
ref CharacterCommandClimbSettings m_ClimbSettings = new CharacterCommandClimbSettings()
 
ref ScriptInvokerInt m_OnCommandActivate
 

Member Function Documentation

◆ HandleClimbing()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleClimbing ( CharacterInputContext  pInputCtx,
float  pDt,
int  pCurrentCommandID 
)

◆ HandleDeath()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleDeath ( CharacterInputContext  pInputCtx,
float  pDt,
int  pCurrentCommandID,
bool  pCurrentCommandFinished 
)

◆ HandleFalling()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleFalling ( CharacterInputContext  pInputCtx,
float  pDt,
int  pCurrentCommandID 
)

◆ HandleFinishedCommands()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleFinishedCommands ( bool  pCurrentCommandFinished)

show weapon (ladders, swimming and other commands are hiding it)

default behavior after finish is to start move

Implements CharacterCommandHandlerComponent.

◆ HandleLadders()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleLadders ( CharacterInputContext  pInputCtx,
float  pDt,
int  pCurrentCommandID 
)

ERC stance only

not sprinting

get info about current movement

angle of direction and fwd movement check

Implements CharacterCommandHandlerComponent.

◆ HandleSwimming()

override bool SCR_CharacterCommandHandlerComponent_Tests.HandleSwimming ( CharacterInputContext  pInputCtx,
float  pDt,
int  pCurrentCommandID 
)

get water level

if total water depth >= 1.5m && character is 1.5m in water

now movement

Implements CharacterCommandHandlerComponent.

◆ OnInit()

override void SCR_CharacterCommandHandlerComponent_Tests.OnInit ( IEntity  owner)
protected

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implements SCR_CharacterCommandHandlerComponent.

◆ TransitionMove_JumpClimb()

override bool SCR_CharacterCommandHandlerComponent_Tests.TransitionMove_JumpClimb ( CharacterInputContext  pInputCtx)

Member Data Documentation

◆ m_fFallYDiff

float SCR_CharacterCommandHandlerComponent_Tests.m_fFallYDiff
protected

◆ m_FlyCommand

ref SCR_CharacterCommandFly SCR_CharacterCommandHandlerComponent_Tests.m_FlyCommand
protected

◆ m_SwimCommand

ref SCR_CharacterCommandSwim SCR_CharacterCommandHandlerComponent_Tests.m_SwimCommand
protected

◆ m_SwimSettings

ref CharacterCommandSwimSettings SCR_CharacterCommandHandlerComponent_Tests.m_SwimSettings = new CharacterCommandSwimSettings()
protected

◆ m_SwimST

ref SCR_CharacterCommandSwimST SCR_CharacterCommandHandlerComponent_Tests.m_SwimST
protected

The documentation for this interface was generated from the following file: