Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseSightsComponent.c File Reference

Go to the source code of this file.

Data Structures

class  BaseSightsComponentClass
 

Functions

BaseMagazineComponentClass GameComponentClass GetOwner ()
 Owner entity of the fuel tank. More...
 
proto external void ForceSightsZeroValue (vector offset, vector angles, vector turnOffset)
 Allow to override Zeroing via aim modifier (only works in Workbench) More...
 
proto external void ForceSightsZeroValueEnablel (bool bOnOff)
 Disable forced zeroing data. More...
 
proto external bool IsSightADSActive ()
 
proto external float GetADSActivationPercentage ()
 
proto external float GetADSDeactivationPercentage ()
 
proto external bool AreSightsValid (bool front=true, bool rear=true)
 
proto external vector GetSightsRearPosition (bool localSpace=false)
 
proto external vector GetSightsFrontPosition (bool localSpace=false)
 
proto external vector GetSightsDirection (bool localSpace=false, bool normalize=true)
 
proto external vector GetSightsDirectionUntransformed (bool localSpace=false, bool normalize=true)
 
proto external vector GetSightsOffset ()
 
proto external bool GetSightsTransform (out vector transform[4], bool localSpace=false)
 
proto external float GetFOV ()
 
proto external vector GetCurrentSightsRange ()
 
proto external SightsFOVInfo GetFOVInfo ()
 
proto external float GetCameraRecoilAmount ()
 Percentage 0...1 of recoil that should be applied to camera when using this sights component. More...
 
proto external bool GetSightsPriority ()
 Boolean indicating whether this sight component is prioritized. More...
 
proto external bool GetSightsSkipSwitch ()
 Return true if the sights can be switched to. More...
 
proto external void SetSightsVisibility (float visFactor)
 Hide parts of the sight on ADS. 0 means completely visible, 1 means completely hidden. More...
 
event protected bool WB_GetZeroingData (IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles)