Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
BaseSightsComponent.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
BaseSightsComponent
:
GameComponent
13
{
14
proto external
IEntity
GetOwner
();
16
proto external
void
ForceSightsZeroValue(
vector
offset,
vector
angles
,
vector
turnOffset);
18
proto external
void
ForceSightsZeroValueEnablel(
bool
bOnOff);
19
proto external
bool
IsSightADSActive();
20
proto external
float
GetADSActivationPercentage
();
21
proto external
float
GetADSDeactivationPercentage
();
22
proto external
bool
AreSightsValid(
bool
front =
true
,
bool
rear =
true
);
29
proto external
vector
GetSightsRearPosition(
bool
localSpace =
false
);
36
proto external
vector
GetSightsFrontPosition(
bool
localSpace =
false
);
44
proto external
vector
GetSightsDirection(
bool
localSpace =
false
,
bool
normalize =
true
);
49
proto external
vector
GetSightsDirectionUntransformed(
bool
localSpace =
false
,
bool
normalize =
true
);
55
proto external
vector
GetSightsOffset();
63
proto external
bool
GetSightsTransform(out
vector
transform[4],
bool
localSpace =
false
);
68
proto external
float
GetFOV();
76
proto external
vector
GetCurrentSightsRange();
81
proto external
SightsFOVInfo
GetFOVInfo();
83
proto external
float
GetCameraRecoilAmount();
85
proto external
bool
GetSightsPriority();
87
proto external
bool
GetSightsSkipSwitch();
89
proto external
void
SetSightsVisibility(
float
visFactor);
90
proto external
PointInfo
GetPositionPointInfo();
91
proto external
PointInfo
GetRearPositionPointInfo();
92
proto external
PointInfo
GetFrontPositionPointInfo();
93
94
// callbacks
95
99
event
protected
bool
WB_GetZeroingData
(
IEntity
owner,
BaseSightsComponent
sights,
float
weaponAngle, out
vector
offset, out
vector
angles
);
100
}
101
angles
ref array< string > angles
Definition
PrefabImporter.c:22
GetADSDeactivationPercentage
float GetADSDeactivationPercentage()
Definition
SCR_2DOpticsComponent.c:161
GetADSActivationPercentage
float GetADSActivationPercentage()
Definition
SCR_2DOpticsComponent.c:155
BaseSightsComponent
Definition
BaseSightsComponent.c:13
BaseSightsComponent::WB_GetZeroingData
bool WB_GetZeroingData(IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles)
GameComponent
Definition
GameComponent.c:13
IEntity
Definition
IEntity.c:13
PointInfo
PointInfo - allows to define position.
Definition
PointInfo.c:9
SightsFOVInfo
Definition
SightsFOVInfo.c:12
vector
Definition
vector.c:13
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition
SCR_FuelNode.c:128
scripts
Game
generated
Weapon
BaseSightsComponent.c
Generated by
1.17.0