DayZ
1.24
Loading...
Searching...
No Matches
FAMAS.c
Go to the documentation of this file.
1
class
Famas_Base
: RifleBoltFree_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
FamasRecoil
(
this
);
6
}
7
8
//Debug menu Spawn Ground Special
9
override
void
OnDebugSpawn
()
10
{
11
SpawnAttachedMagazine(
"Mag_Famas_25Rnd"
);
12
}
13
14
/*override int GetWeaponSpecificCommand(int weaponAction ,int subCommand)
15
{
16
if ( weaponAction == WeaponActions.RELOAD)
17
{
18
switch (subCommand)
19
{
20
case WeaponActionReloadTypes.RELOADSRIFLE_MAGAZINE_BULLET:
21
return WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_BULLET;
22
23
case WeaponActionReloadTypes.RELOADSRIFLE_NOMAGAZINE_BULLET:
24
return WeaponActionReloadTypes.RELOADRIFLE_NOMAGAZINE_BULLET;
25
26
case WeaponActionReloadTypes.RELOADSRIFLE_MAGAZINE_NOBULLET:
27
return WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_NOBULLET;
28
29
case WeaponActionReloadTypes.RELOADSRIFLE_NOMAGAZINE_NOBULLET:
30
return WeaponActionReloadTypes.RELOADRIFLE_NOMAGAZINE_NOBULLET;
31
32
default:
33
return subCommand;
34
}
35
36
}
37
return subCommand;
38
}*/
39
};
40
41
class
FAMAS
:
Famas_Base
{};
42
class
SawedOffFAMAS
:
Famas_Base
{};
FAMAS
Definition
FAMAS.c:41
Famas_Base
Definition
FAMAS.c:2
Famas_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
FAMAS.c:3
Famas_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
FAMAS.c:9
FamasRecoil
Definition
FamasRecoil.c:2
RecoilBase
Definition
RecoilBase.c:2
SawedOffFAMAS
Definition
FAMAS.c:42
scripts
4_World
Entities
Firearms
AutomaticRifle
FAMAS.c
Generated by
1.10.0