Enum Class WeaponAPI.AIHints

java.lang.Object
java.lang.Enum<WeaponAPI.AIHints>
com.fs.starfarer.api.combat.WeaponAPI.AIHints
All Implemented Interfaces:
Serializable, Comparable<WeaponAPI.AIHints>, Constable
Enclosing interface:
WeaponAPI

public static enum WeaponAPI.AIHints extends Enum<WeaponAPI.AIHints>
  • Enum Constant Details

    • PD

      public static final WeaponAPI.AIHints PD
    • PD_ONLY

      public static final WeaponAPI.AIHints PD_ONLY
    • PD_ALSO

      public static final WeaponAPI.AIHints PD_ALSO
    • USE_VS_FRIGATES

      public static final WeaponAPI.AIHints USE_VS_FRIGATES
    • STRIKE

      public static final WeaponAPI.AIHints STRIKE
    • DANGEROUS

      public static final WeaponAPI.AIHints DANGEROUS
    • BOMB

      public static final WeaponAPI.AIHints BOMB
      like STRIKE but only for when the enemy ship is considering it, not for its own weapon use
    • GUIDED_POOR

      public static final WeaponAPI.AIHints GUIDED_POOR
    • DO_NOT_AIM

      public static final WeaponAPI.AIHints DO_NOT_AIM
    • ANTI_FTR

      public static final WeaponAPI.AIHints ANTI_FTR
    • HEATSEEKER

      public static final WeaponAPI.AIHints HEATSEEKER
    • SYSTEM

      public static final WeaponAPI.AIHints SYSTEM
    • SHOW_IN_CODEX

      public static final WeaponAPI.AIHints SHOW_IN_CODEX
    • AUTOZOOM

      public static final WeaponAPI.AIHints AUTOZOOM
    • DO_NOT_CONSERVE

      public static final WeaponAPI.AIHints DO_NOT_CONSERVE
    • CONSERVE_1

      public static final WeaponAPI.AIHints CONSERVE_1
    • CONSERVE_2

      public static final WeaponAPI.AIHints CONSERVE_2
    • CONSERVE_3

      public static final WeaponAPI.AIHints CONSERVE_3
    • CONSERVE_4

      public static final WeaponAPI.AIHints CONSERVE_4
    • CONSERVE_5

      public static final WeaponAPI.AIHints CONSERVE_5
    • CONSERVE_ALL

      public static final WeaponAPI.AIHints CONSERVE_ALL
    • CONSERVE_FOR_ANTI_ARMOR

      public static final WeaponAPI.AIHints CONSERVE_FOR_ANTI_ARMOR
    • FIRE_WHEN_INEFFICIENT

      public static final WeaponAPI.AIHints FIRE_WHEN_INEFFICIENT
    • EXTRA_RANGE_ON_FIGHTER

      public static final WeaponAPI.AIHints EXTRA_RANGE_ON_FIGHTER
    • IGNORES_FLARES

      public static final WeaponAPI.AIHints IGNORES_FLARES
    • GROUP_LINKED

      public static final WeaponAPI.AIHints GROUP_LINKED
    • GROUP_ALTERNATING

      public static final WeaponAPI.AIHints GROUP_ALTERNATING
    • MISSILE_SPREAD

      public static final WeaponAPI.AIHints MISSILE_SPREAD
    • DIRECT_AIM

      public static final WeaponAPI.AIHints DIRECT_AIM
    • NO_TURN_RATE_BOOST_WHEN_IDLE

      public static final WeaponAPI.AIHints NO_TURN_RATE_BOOST_WHEN_IDLE
    • RESET_BARREL_INDEX_ON_BURST

      public static final WeaponAPI.AIHints RESET_BARREL_INDEX_ON_BURST
    • USE_LESS_VS_SHIELDS

      public static final WeaponAPI.AIHints USE_LESS_VS_SHIELDS
    • RANGE_FROM_TARGETING_OVAL

      public static final WeaponAPI.AIHints RANGE_FROM_TARGETING_OVAL
      Compute range from the ship's targeting oval instead of from the slot location. Useful for swarm missile weapons where the launch point is not from the weapon slot.
    • RANGE_FROM_SHIP_RADIUS

      public static final WeaponAPI.AIHints RANGE_FROM_SHIP_RADIUS
      Similar to RANGE_FROM_TARGETING_OVAL, but from ship center + radius instead. Useful for missile weapons that have a fixed maximum range rather than being limited by flight time, but - as in the case of some fragment weapons - can be launched from very different locations.
    • IMPORTANT

      public static final WeaponAPI.AIHints IMPORTANT
      Increased weight for preferring to select for manual fire.
    • NO_MANUAL_FIRE

      public static final WeaponAPI.AIHints NO_MANUAL_FIRE
      The weapon should not be selected for manual fire. It still might be if it's in a group with other weapons or there's no other choice.
  • Method Details

    • values

      public static WeaponAPI.AIHints[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WeaponAPI.AIHints valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null