Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseSightsComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class BaseSightsComponent: GameComponent
17 {
18  proto external IEntity GetOwner();
20  proto external void ForceSightsZeroValue(vector offset, vector angles, vector turnOffset);
22  proto external void ForceSightsZeroValueEnablel(bool bOnOff);
23  proto external bool IsSightADSActive();
24  proto external float GetADSActivationPercentage();
25  proto external float GetADSDeactivationPercentage();
26  proto external bool AreSightsValid(bool front = true, bool rear = true);
33  proto external vector GetSightsRearPosition(bool localSpace = false);
40  proto external vector GetSightsFrontPosition(bool localSpace = false);
48  proto external vector GetSightsDirection(bool localSpace = false, bool normalize = true);
53  proto external vector GetSightsDirectionUntransformed(bool localSpace = false, bool normalize = true);
59  proto external vector GetSightsOffset();
67  proto external bool GetSightsTransform(out vector transform[4], bool localSpace = false);
72  proto external float GetFOV();
80  proto external vector GetCurrentSightsRange();
85  proto external SightsFOVInfo GetFOVInfo();
87  proto external float GetCameraRecoilAmount();
89  proto external bool GetSightsPriority();
91  proto external bool GetSightsSkipSwitch();
93  proto external void SetSightsVisibility(float visFactor);
94 
95  // callbacks
96 
100  event protected bool WB_GetZeroingData(IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles);
101 }
102 
ForceSightsZeroValueEnablel
proto external void ForceSightsZeroValueEnablel(bool bOnOff)
Disable forced zeroing data.
WB_GetZeroingData
event protected bool WB_GetZeroingData(IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles)
GetSightsSkipSwitch
proto external bool GetSightsSkipSwitch()
Return true if the sights can be switched to.
GetCameraRecoilAmount
proto external float GetCameraRecoilAmount()
Percentage 0...1 of recoil that should be applied to camera when using this sights component.
GetADSActivationPercentage
proto external float GetADSActivationPercentage()
GameComponentClass
Definition: GameComponentClass.c:7
GetSightsFrontPosition
proto external vector GetSightsFrontPosition(bool localSpace=false)
GetSightsTransform
proto external bool GetSightsTransform(out vector transform[4], bool localSpace=false)
GetSightsDirection
proto external vector GetSightsDirection(bool localSpace=false, bool normalize=true)
BaseSightsComponentClass
Definition: BaseSightsComponent.c:12
GetSightsPriority
proto external bool GetSightsPriority()
Boolean indicating whether this sight component is prioritized.
SetSightsVisibility
proto external void SetSightsVisibility(float visFactor)
Hide parts of the sight on ADS. 0 means completely visible, 1 means completely hidden.
GetSightsRearPosition
proto external vector GetSightsRearPosition(bool localSpace=false)
GetADSDeactivationPercentage
proto external float GetADSDeactivationPercentage()
AreSightsValid
proto external bool AreSightsValid(bool front=true, bool rear=true)
IsSightADSActive
proto external bool IsSightADSActive()
GetSightsOffset
proto external vector GetSightsOffset()
ForceSightsZeroValue
proto external void ForceSightsZeroValue(vector offset, vector angles, vector turnOffset)
Allow to override Zeroing via aim modifier (only works in Workbench)
GetFOV
proto external float GetFOV()
GetSightsDirectionUntransformed
proto external vector GetSightsDirectionUntransformed(bool localSpace=false, bool normalize=true)
SightsFOVInfo
Definition: SightsFOVInfo.c:11
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
GetCurrentSightsRange
proto external vector GetCurrentSightsRange()
GetFOVInfo
proto external SightsFOVInfo GetFOVInfo()
GameComponent
Definition: GameComponent.c:12