◆ GetWeaponSpecificCommand()
19 {
21 {
23 {
26
29
32
35
36 default:
38 }
39
40 }
42 }
WeaponActions
actions
Definition human.c:816
WeaponActionReloadTypes
Definition human.c:832
◆ OnDebugSpawn() [1/2]
10 {
13 {
14 entity.SpawnEntityOnGroundPos(
"Mag_Aug_30Rnd",
entity.GetPosition());
15 }
16 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo().
◆ OnDebugSpawn() [2/2]
49 {
51
52 inventory.CreateInInventory(
"UniversalLight" );
53 inventory.CreateInInventory(
"Battery9V" );
54 inventory.CreateInInventory(
"ACOGOptic" );
55 inventory.CreateInInventory(
"M4_Suppressor" );
56
57 SpawnAttachedMagazine("Mag_Aug_30Rnd");
58 }
script counterpart to engine's class Inventory
Definition Inventory.c:79
◆ SpawnRecoilObject()
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Entities/Firearms/AutomaticRifle/AUG.c