Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_2DSightsComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_2DSightsComponentClass

Functions

void RegisterInputs ()
void UnregisterInputs ()
override void HandleSightActivation ()
override void HandleSightDeactivation ()
override void OnSightADSActivated ()
 Called every time the sight is activated.
override void OnSightADSDeactivated ()
 Called every time the sight is deactivated.
override bool CanFreelook ()
override void ApplyRecoilToCamera (inout vector pOutCameraTransform[4], vector aimModAngles)
void SetupFovInfo ()
void SelectZoomLevel (int id)
 Switch betweem zoom levels from sights.
void ActionZoomIn (float value=0.0, EActionTrigger reason=0)
 Move zoom level up and down based on mouse wheel value.
void ActionZoomOut (float value=0.0, EActionTrigger reason=0)
 Move zoom level up and down based on mouse wheel value.
void AdjustZoom (float value)
 Move zoom level up and down based on mouse wheel value.
void ToggleIllumination (float value, EActionTrigger trigger)
 Action for toggling illumination.
SCR_ChimeraCharacter GetCharacterOwner ()
override float GetReticleOffsetYTarget ()
SCR_SightsZoomFOVInfo GetSightsFovInfo ()

Variables

SCR_2DSightsComponentClass m_SightsFovInfo

Function Documentation

◆ ActionZoomIn()

void ActionZoomIn ( float value = 0.0,
EActionTrigger reason = 0 )
protected

Move zoom level up and down based on mouse wheel value.

Definition at line 207 of file SCR_2DSightsComponent.c.

◆ ActionZoomOut()

void ActionZoomOut ( float value = 0.0,
EActionTrigger reason = 0 )
protected

Move zoom level up and down based on mouse wheel value.

Definition at line 214 of file SCR_2DSightsComponent.c.

◆ AdjustZoom()

void AdjustZoom ( float value)
protected

Move zoom level up and down based on mouse wheel value.

Definition at line 221 of file SCR_2DSightsComponent.c.

◆ ApplyRecoilToCamera()

override void ApplyRecoilToCamera ( inout vector pOutCameraTransform[4],
vector aimModAngles )
protected

Definition at line 155 of file SCR_2DSightsComponent.c.

◆ CanFreelook()

override bool CanFreelook ( )
protected

Definition at line 149 of file SCR_2DSightsComponent.c.

◆ GetCharacterOwner()

SCR_ChimeraCharacter GetCharacterOwner ( )
protected

Definition at line 305 of file SCR_2DSightsComponent.c.

◆ GetReticleOffsetYTarget()

override float GetReticleOffsetYTarget ( )
protected

Definition at line 345 of file SCR_2DSightsComponent.c.

◆ GetSightsFovInfo()

SCR_SightsZoomFOVInfo GetSightsFovInfo ( )
protected

Definition at line 362 of file SCR_2DSightsComponent.c.

◆ HandleSightActivation()

override void HandleSightActivation ( )
protected

Definition at line 53 of file SCR_2DSightsComponent.c.

◆ HandleSightDeactivation()

override void HandleSightDeactivation ( )
protected

Definition at line 104 of file SCR_2DSightsComponent.c.

◆ RegisterInputs()

void RegisterInputs ( )
protected

Definition at line 28 of file SCR_2DSightsComponent.c.

◆ SelectZoomLevel()

void SelectZoomLevel ( int id)
protected

Switch betweem zoom levels from sights.

Definition at line 191 of file SCR_2DSightsComponent.c.

◆ SetupFovInfo()

void SetupFovInfo ( )
protected

Definition at line 163 of file SCR_2DSightsComponent.c.

◆ ToggleIllumination()

void ToggleIllumination ( float value,
EActionTrigger trigger )
protected

Action for toggling illumination.

Definition at line 272 of file SCR_2DSightsComponent.c.

◆ UnregisterInputs()

void UnregisterInputs ( )
protected

Definition at line 42 of file SCR_2DSightsComponent.c.

Variable Documentation

◆ m_SightsFovInfo

SCR_2DSightsComponentClass m_SightsFovInfo