Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MeleeWeaponProperties.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Weapon"
, description:
"Keeps settings for melee weapon"
)]
2
class
SCR_MeleeWeaponPropertiesClass
: ScriptComponentClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_MeleeWeaponProperties
:
ScriptComponent
8
{
9
[
Attribute
(
"10"
, UIWidgets.Slider,
"Size of damage dealt by the weapon"
,
"0.0 100.0 1.0"
,
category
:
"Global"
)]
10
private
float
m_fDamage;
11
[
Attribute
(
"1"
, UIWidgets.Slider,
"Range of the weapon [m]"
,
"1 5 0.5"
,
category
:
"Global"
)]
12
private
float
m_fRange
;
13
14
//------------------------------------------------------------------------------------------------
16
float
GetWeaponDamage()
17
{
18
return
m_fDamage
;
19
}
20
21
//------------------------------------------------------------------------------------------------
23
float
GetWeaponRange()
24
{
25
return
m_fRange
;
26
}
27
};
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
m_fDamage
float m_fDamage
Definition:
SCR_MeleeComponent.c:12
SCR_MeleeWeaponProperties
Definition:
SCR_MeleeWeaponProperties.c:7
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
SCR_MeleeWeaponPropertiesClass
Definition:
SCR_MeleeWeaponProperties.c:2
m_fRange
protected float m_fRange
Definition:
SCR_BaseSupportStationComponent.c:94
Attribute
typedef Attribute
Post-process effect of scripted camera.
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Weapon
Melee
SCR_MeleeWeaponProperties.c
Generated by
1.8.17