|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
6 class SCR_BinocularsComponent : SCR_GadgetComponent
12 protected static bool m_bZoomed =
false;
19 static bool IsZoomedView()
35 Print(
"Optic component in binoculars was not found!", LogLevel.ERROR);
47 m_Optic.OnSightADSDeactivated();
57 override void ModeSwitch(EGadgetMode mode, IEntity charOwner)
59 super.ModeSwitch(mode, charOwner);
69 super.ModeClear(mode);
73 if (m_iMode == EGadgetMode.IN_HAND && m_bZoomed)
76 super.ModeClear(mode);
82 super.ToggleFocused(enable);
90 return EGadgetType.BINOCULARS;
SCR_BinocularsComponentClass s_OnBinocToggled
protected Widget m_RootWidget
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
override void ModeClear(EGadgetMode mode)
protected SCR_2DOpticsComponent m_Optic
override bool IsVisibleEquipped()
SCR_RplTestComponentClass m_CharacterOwner
private void SetZoomedView(bool state)
IEntity GetOwner()
Owner entity of the fuel tank.
override void ToggleFocused(bool enable)
override bool IsUsingADSControls()
override EGadgetType GetType()
void ~SCR_BinocularsComponent()
override void ModeSwitch(EGadgetMode mode, IEntity charOwner)
override bool CanBeRaised()