DayZ 1.24
Loading...
Searching...
No Matches
AUG.c File Reference

Go to the source code of this file.

Classes

class  Aug_Base
 
class  AugOptic
 

Functions

override void OnDebugSpawn ()
 
override void AssembleGun ()
 

Variables

AugOptic CanEnterIronsights
 

Function Documentation

◆ AssembleGun()

override void AssembleGun ( )

Definition at line 66 of file AUG.c.

67 {
68 super.AssembleGun();
69
70 if (!FindAttachmentBySlotName("weaponOpticsAug"))
71 GetInventory().CreateAttachment("AugOptic");
72 }

◆ OnDebugSpawn()

override void CanEnterIronsights::OnDebugSpawn ( )

Definition at line 63 of file AUG.c.

67 {
68 super.AssembleGun();
69
70 if (!FindAttachmentBySlotName("weaponOpticsAug"))
71 GetInventory().CreateAttachment("AugOptic");
72 }
73

Variable Documentation

◆ CanEnterIronsights

class Aug extends Aug_Base CanEnterIronsights

Definition at line 43 of file AUG.c.

62 {
63 return true;
64 }