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

Go to the source code of this file.

Classes

class  SCR_HelicopterCollimatorSightComponentClass

Functions

SCR_HelicopterCollimatorSightComponentClass SCR_CollimatorSightsComponentClass Attribute (defvalue:"SightDeployment", desc:"Animation signal name used to deploy the sight")
override void OnSightADSDeactivated ()
 Called every time the sight is deactivated.
void ToggleSightState (float value=0.0, EActionTrigger reason=0, string actionName=string.Empty)
void OwnerSyncSightState (bool newState)
void OnSightStateSynced ()
void OverrideSightState (bool newState)
SignalsManagerComponent FindSignalsManagerComponent ()
 Finds signals manager component that is responsible for animation playback.
void ChangeSightDeployedState (bool newState)
void ChangeSightElevation (float value=0.0, EActionTrigger reason=0, string actionName=string.Empty)
void SetUpActionListeners ()
void RemoveActionListeners ()

Function Documentation

◆ Attribute()

SCR_HelicopterCollimatorSightComponentClass SCR_CollimatorSightsComponentClass Attribute ( defvalue:"SightDeployment" ,
desc:"Animation signal name used to deploy the sight"  )

Definition at line 1 of file SCR_HelicopterCollimatorSightComponent.c.

◆ ChangeSightDeployedState()

void ChangeSightDeployedState ( bool newState)
protected
Parameters
[in]newState

Definition at line 133 of file SCR_HelicopterCollimatorSightComponent.c.

◆ ChangeSightElevation()

void ChangeSightElevation ( float value = 0.0,
EActionTrigger reason = 0,
string actionName = string.Empty )
protected

Keybind callback that locally changes the elevation of the sight

Parameters
[in]value
[in]reason
[in]actionName

Definition at line 162 of file SCR_HelicopterCollimatorSightComponent.c.

◆ FindSignalsManagerComponent()

SignalsManagerComponent FindSignalsManagerComponent ( )
protected

Finds signals manager component that is responsible for animation playback.

Definition at line 110 of file SCR_HelicopterCollimatorSightComponent.c.

◆ OnSightStateSynced()

void OnSightStateSynced ( )
protected

Definition at line 95 of file SCR_HelicopterCollimatorSightComponent.c.

◆ OverrideSightState()

void OverrideSightState ( bool newState)
protected

Method used to locally override current state of the sight

Parameters
[in]newState

Definition at line 103 of file SCR_HelicopterCollimatorSightComponent.c.

◆ OwnerSyncSightState()

void OwnerSyncSightState ( bool newState)
protected

Method called by authority that can broadcast the change

Parameters
[in]newState

Definition at line 85 of file SCR_HelicopterCollimatorSightComponent.c.

◆ RemoveActionListeners()

void RemoveActionListeners ( )
protected

Definition at line 199 of file SCR_HelicopterCollimatorSightComponent.c.

◆ SetUpActionListeners()

void SetUpActionListeners ( )
protected

Definition at line 188 of file SCR_HelicopterCollimatorSightComponent.c.

◆ ToggleSightState()

void ToggleSightState ( float value = 0.0,
EActionTrigger reason = 0,
string actionName = string.Empty )
protected

Keybind callback responsible for switching deplyed state of the sight

Parameters
[in]value
[in]reason
[in]actionName

Definition at line 64 of file SCR_HelicopterCollimatorSightComponent.c.