|
override void | OnPrepareControls (IEntity owner, ActionManager am, float dt, bool player) |
|
proto external BaseCompartmentSlot | GetCompartmentSlot () |
|
proto external bool | GetCanAimOnlyInADS () |
| Returns true if we can only aim in ADS.
|
|
proto external bool | IsFreeLookEnabled () |
| Returns true if the free look is enabled.
|
|
proto external bool | IsWeaponADS () |
| Returns true if the weapon is in ADS.
|
|
proto external void | SetWeaponADS (bool val) |
| Request weapon ADS state.
|
|
proto external bool | GetWeaponADSInput () |
| Returns weapon ADS input state.
|
|
proto external void | SetWeaponADSInput (bool val) |
| Request weapon ADS input state.
|
|
proto external void | SetWeaponADSEnabled (bool val) |
| Enable or disable weapon ADS.
|
|
proto external bool | GetWeaponADSEnabled () |
|
proto external ETurretReloadState | GetReloadingState () |
|
proto external float | GetADSTime () |
| Returns the time to ADS in seconds.
|
|
proto external BaseSightsComponent | GetCurrentSights () |
|
proto external bool | GetCurrentSightsADS () |
|
proto external void | SetCurrentSightsADS (bool on) |
| Set if we are currently in ADS.
|
|
proto bool | GetCurrentSightsCameraTransform (out vector outWorldMatrix[4], out float fov) |
| Returns true if current turret is valid and has some sights data, outputs world sights transformation and FOV.
|
|
proto bool | GetCurrentSightsCameraLocalTransform (out vector outLocalMatrix[4], out float fov) |
| Returns true if current turret is valid and has some sights data, outputs local sights transformation and FOV.
|
|
proto external bool | AssembleTurret () |
|
proto external bool | DisassembleTurret () |
|
proto external bool | RemoveWeapon (IEntity user, int index, IEntity receiver) |
| Remove the given weapon index, and put it into pReceiver's inventory. If pReceiver is null, drop it to the ground. pUser can be nullptr if called from server.
|
|
proto external bool | AddWeapon (IEntity user, int index, IEntity weapon) |
| Add the weapon to the turret on the given slot index. pUser can be nullptr if called from server.
|
|
proto external TurretComponent | GetTurretComponent () |
|
proto external BaseWeaponManagerComponent | GetWeaponManager () |
|
proto external InventoryStorageManagerComponent | GetInventoryManager () |
|
proto external bool | SelectWeapon (IEntity user, BaseWeaponComponent newWeapon) |
| Select the new weapon specified in parameter.
|
|
proto external bool | SetWeaponGroup (array< int > weapons, EWeaponGroupFireMode mode, int rippleQuantity=1, float timeBetween=100.0) |
| Select a group of weapons for firing.
|
|
proto external float | GetReloadDuration () |
|
proto external float | GetReloadTime () |
|
proto external bool | DoReloadWeaponWith (IEntity ammunitionEntity) |
|
proto external void | SetFireWeaponWanted (bool val) |
| Set if turret is firing or not.
|
|
proto external void | SetAimingAngles (float yaw, float pitch) |
| Set aiming angles in radians.
|
|
proto external bool | GetIsOverridden () |
|
proto external string | GetUniqueName () |
|
proto external void | SetWeaponInputState (ETurretWeaponInputState state) |
| Used to remotely trigger weapon actions on the turret.
|
|
proto external IEntity | GetOwner () |
| Returns the entity owner of the component.
|
|
proto external bool | CanMove () |
| Returns state of movement capacity.
|
|
proto external void | SetCanMove (bool canMove) |
| Changes state of movement capacity. Internally verifies if all necessary conditions are met.
|
|
bool | ValidateCanMove () |
|
bool | OnTicksOnRemoteProxy () |
|