3 override bool CanBeShownScript(IEntity user)
5 if (!super.CanBeShownScript(user))
12 return muzzle && muzzle.GetFireModesCount() > 2;
15 override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
17 if (!m_WeaponComponent)
23 CharacterControllerComponent charComp = CharacterControllerComponent.Cast(pUserEntity.FindComponent(CharacterControllerComponent));
24 charComp.SetSafety(
false,
false);
25 charComp.SetFireMode(muzzle.GetNextFireModeIndex());