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

    Function AIForceFire

    • Forces an AI player to fire or activate whatever weapon or gadget they are holding in their hands for a length of time. 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 force fire.

      • fireDuration: number

        The duration to force fire for.

      Returns void

    • Forces an AI player to fire or activate whatever weapon or gadget they are holding in their hands for a length of time.

      Parameters

      • player: Player
      • fireDuration: number

      Returns void