4 override bool CanBePerformedScript(IEntity user)
6 if (!IsTurretOperational())
9 return super.CanBePerformedScript(user);
13 override bool CanBeShownScript(IEntity user)
15 if (!IsTurretOperational())
18 return super.CanBeShownScript(user);
22 bool IsTurretOperational()
26 if (damageManager && damageManager.GetState() ==
EDamageState.DESTROYED)
34 if (!weaponSlot.GetWeaponEntity())