bf6-portal-mod-types
    Preparing search index...

    Function AIEnableTargeting

    • Enables or disables targeting for AI. An AI unable to target cannot shoot, but will also not notice other soldiers. This only works for AI players and wil likely error and end the execution frame if used on a human player.

      Parameters

      • player: Player

        The player to enable targeting for.

      Returns void

    • Enables or disables targeting for AI. An AI unable to target cannot shoot, but will also not notice other soldiers. This only works for AI players and wil likely error and end the execution frame if used on a human player.

      Parameters

      • player: Player

        The player to enable targeting for.

      • enable: boolean

        Whether to enable or disable targeting.

      Returns void

    • Enables or disables targeting for AI. An AI unable to target cannot shoot, but will also not notice other soldiers (Only works for AI players)

      Parameters

      Returns void

    • Enables or disables targeting for AI. An AI unable to target cannot shoot, but will also not notice other soldiers (Only works for AI players)

      Parameters

      Returns void