12 if (!controlledEntity)
15 ChimeraCharacter character = ChimeraCharacter.Cast(controlledEntity);
19 BaseWeaponManagerComponent weaponManager = character.GetCharacterController().GetWeaponManagerComponent();
29 if (currentSights.FindAvailableSights() == 0)
30 canSwitchOptics = currentSights.CanSetSights(1);
31 else if(currentSights.FindAvailableSights() == 1)
32 canSwitchOptics = currentSights.CanSetSights(0);
34 return canSwitchOptics;