Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseCollimatorSightsComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
19 proto external void SetReticleSize(float angularSize, float reticlePortion);
21 proto external float GetReticleAngularSize();
23 proto external float GetReticlePortion();
25 proto external int GetNumReticles();
27 proto external bool IsReticleValid(int index);
29 proto external BaseCollimatorReticleInfo GetReticleByIndex(int index);
31 proto external int GetCurrentReticleShape();
33 proto external void ReticleNextShape();
35 proto external void ReticlePreviousShape();
37 proto external bool SetReticleShapeByIndex(int iIndex);
39 proto external int GetNumColors();
41 proto external int IsColorValid(int index);
43 proto external BaseCollimatorReticleColor GetColorByIndex(int index);
45 proto external int GetCurrentColor();
47 proto external void ReticleNextColor();
49 proto external void ReticlePreviousColor();
51 proto external float GetNormalizedLightIntensity();
53 proto external bool SetReticleColorByIndex(int iIndex);
55 proto external void SetVerticalAngularCorrection(float fAngle);
57 proto external float GetVerticalAngularCorrection();
59 proto external void SetHorizontalAngularCorrection(float fAngle);
61 proto external float GetHorizontalAngularCorrection();
67 proto external bool IsSightActive();
76 proto external void SetSightForcedOff(bool forceOff);
81 proto external void EnableManualBrightness(bool bEnable);
83 proto external bool IsManualBrightnessEnabled();
92 proto external void SetManualBrightness(float fBrightness, bool bClamp);
94 proto external float GetManualBrightness();
96 proto external bool GetManualBrightnessClamp();
97
98 // callbacks
99
101 event void UpdateReticlePosition(float u, float v, float uScale, float vScale);
103 event void OnPostInit(IEntity owner);
105 event void UpdateReticleShapeIndex(int index);
107 event void UpdateReticleColor(vector inner, vector glow);
109 event void UpdateReticleBrightnessScale(float scale);
111 event void UpdateReticleBrightness(float lvFactor, bool useOwn);
113 event float GetReticleBrightnessDay();
114 event float GetReticleBrightnessNight();
115 event void OnSightADSActivate();
116 event void OnSightADSDeactivated();
117}
118
vector scale
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
event void OnSightADSDeactivated()
Called every time the sight is deactivated.