|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
16 class BaseCollimatorSightsComponent: SightsComponent
23 proto external
void SetReticleSize(
float angularSize,
float reticlePortion);
proto external int GetNumColors()
Get the number of reticle colors.
proto external void ReticlePreviousShape()
Set the previous reticle shape. This always works, but might not do anything if only one reticle is d...
proto external int GetNumReticles()
Get the number of reticle infos.
proto external bool SetReticleShapeByIndex(int iIndex)
Set reticle shape by index. Returns true if successful.
proto external int IsColorValid(int index)
Is color index valid.
event void UpdateReticlePosition(float u, float v, float uScale, float vScale)
Called to update the sight position U/V.
proto external float GetReticlePortion()
Get the default portion of the reticle that covers the given angular size.
proto external bool IsReticleValid(int index)
Is reticle index valud.
proto external void ReticlePreviousColor()
Set the previous reticle color. This always works, but might not do anything if only one or no color ...
proto external void ReticleNextShape()
Set the next reticle shape. This always works, but might not do anything if only one reticle is defin...
event void OnPostInit(IEntity owner)
Called on PostInit when all components are added.
event void UpdateReticleShapeIndex(int index)
Called to update the Reticle shape.
proto external void ReticleNextColor()
Set the next reticle color. This always works, but might not do anything if only one or no color is d...
event void UpdateReticleColor(vector inner, vector glow)
Called to update reticle color.
proto external BaseCollimatorReticleColor GetColorByIndex(int index)
Get a color record by index.
BaseCollimatorSightsComponentClass SightsComponentClass SetReticleSize(float angularSize, float reticlePortion)
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
proto external bool SetReticleColorByIndex(int iIndex)
Set reticle color by index. Return true if successful.
proto external int GetCurrentReticleShape()
Get current reticle shape.
event void OnSightADSDeactivated()
Called every time the sight is deactivated.
event void OnSightADSActivate()
proto external float GetReticleAngularSize()
Get the default angular size of the reticle, in degrees.
proto external BaseCollimatorReticleInfo GetReticleByIndex(int index)
Get a reticle by index.
proto external int GetCurrentColor()
Get current reticle color index.