Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
TurretControllerComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
14 proto external BaseCompartmentSlot GetCompartmentSlot();
16 proto external bool GetCanAimOnlyInADS();
18 proto external bool IsFreeLookEnabled();
20 proto external bool IsWeaponADS();
22 proto external void SetWeaponADS(bool val);
24 proto external bool GetWeaponADSInput();
26 proto external void SetWeaponADSInput(bool val);
28 proto external void SetWeaponADSEnabled(bool val);
29 proto external bool GetWeaponADSEnabled();
30 proto external ETurretReloadState GetReloadingState();
32 proto external float GetADSTime();
34 proto external bool GetCurrentSightsADS();
39 proto external void SetCurrentSightsADS(bool on);
41 proto bool GetCurrentSightsCameraTransform(out vector outWorldMatrix[4], out float fov);
43 proto bool GetCurrentSightsCameraLocalTransform(out vector outLocalMatrix[4], out float fov);
44 proto external bool AssembleTurret();
45 proto external bool DisassembleTurret();
47 proto external bool RemoveWeapon(IEntity user, int index, IEntity receiver);
49 proto external bool AddWeapon(IEntity user, int index, IEntity weapon);
50 proto external TurretComponent GetTurretComponent();
51 proto external BaseWeaponManagerComponent GetWeaponManager();
52 proto external InventoryStorageManagerComponent GetInventoryManager();
59 proto external bool SelectWeapon(IEntity user, BaseWeaponComponent newWeapon);
60 // Returns the reload duration in seconds.
61 proto external float GetReloadDuration();
62 // Returns the current reloading time, it goes from reload duration to 0.
63 proto external float GetReloadTime();
64 // Instantly reloads weapon with magazine
65 proto external bool DoReloadWeaponWith(IEntity ammunitionEntity);
67 proto external void SetFireWeaponWanted(bool val);
72 proto external void SetAimingAngles(float yaw, float pitch);
73 proto external bool GetIsOverridden();
75 proto external ETurretContextID GetContextIDs();
76 proto external string GetUniqueName();
77 proto external bool GetUseVehicleCamera();
82 proto external void SetWeaponInputState(ETurretWeaponInputState state);
83
84 // callbacks
85
86 event protected void OnPrepareControls(IEntity owner, ActionManager am, float dt, bool player);
87}
88
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
ActionManager holds information about states of registered Contexts and Actions.
void OnPrepareControls(IEntity owner, ActionManager am, float dt, bool player)
proto external float GetADSTime()
proto external bool IsFreeLookEnabled()
proto external bool GetWeaponADSInput()
proto external bool IsWeaponADS()
ETurretWeaponInputState
ETurretReloadState
ETurretContextID
proto external SightsComponent GetCurrentSights()