Ejemplo n.º 1
0
 private void SetTurretOrientation(float Azimuth, float Elevation)
 {
     bool targeting = (m_turret.GetValue <bool>("TargetMeteors") || m_turret.GetValue <bool>("TargetMissiles") || m_turret.GetValue <bool>("TargetSmallShips") || m_turret.GetValue <bool>("TargetLargeShips") || m_turret.GetValue <bool>("TargetCharacters") || m_turret.GetValue <bool>("TargetStations") || m_turret.GetValue <bool>("TargetNeutrals"));
     // if we are not targeting anything
     //if (!targeting)
     {
         m_turret.Elevation = Elevation;
         m_turret.Azimuth   = Azimuth;
     }
 }