Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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 {};
Famas_Base
Definition: famas.c:1
FamasRecoil
Definition: famasrecoil.c:1
FAMAS
Definition: famas.c:41
SawedOffFAMAS
Definition: famas.c:42
RecoilBase
Definition: recoilbase.c:1