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

    Function AIDefendPositionBehavior

    • Sets a player to defend an area around a location. 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 set the behavior for.

      • defendPosition: Vector

        The position to defend.

      • minDistance: number

        The minimum distance from the defend position.

      • maxDistance: number

        The maximum distance from the defend position.

      Returns void

    • Sets a player to defend an area around a location. (Only works for AI players)

      Parameters

      • player: Player
      • defendPosition: Vector
      • minDistance: number
      • maxDistance: number

      Returns void