13 entity.SpawnEntityOnGroundPos(
"Mag_Aug_30Rnd",
entity.GetPosition());
50 inventory.CreateInInventory(
"UniversalLight");
53 inventory.CreateInInventory(
"M4_Suppressor");
55 SpawnAttachedMagazine(
"Mag_Aug_30Rnd");
70 if (!FindAttachmentBySlotName(
"weaponOpticsAug"))
71 GetInventory().CreateAttachment(
"AugOptic");
77 SpawnAttachedMagazine(
"Mag_Aug_30Rnd");
override void AssembleGun()
AugOptic CanEnterIronsights
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
override int GetWeaponSpecificCommand(int weaponAction, int subCommand)
override RecoilBase SpawnRecoilObject()
override void OnDebugSpawn()
override bool CanPutAsAttachment(EntityAI parent)
Super root of all classes in Enforce script.
script counterpart to engine's class Inventory
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.