Page tree
Skip to end of metadata
Go to start of metadata

Introduced in



Description:Orders a vehicle crew to fire at the specified position.


Syntax:[position, vehicle, [rounds, delay, start], exit, output, firemode] call fn_vbs_fireSupport
  • position: Position3D - Position to fire at.
  • vehicle: Object - Armed vehicle to fire its primary weapon (must be crewed).
  • rounds: Number - How many rounds (or bursts) to fire.
  • delay: Number - Delay (in seconds) between rounds / bursts.
  • start: Number - Delay (in seconds) before the first shot is fired (minimum delay is 4 seconds).
  • exit: Code - Code to execute after the last shot is fired.
  • output: String - Type of radio messages to generate (optional, default: "full")
    (currently ignored: always "full")
    • "full": Message at the start and end of each round / burst.
    • "startEnd": Only start / end messages.
    • "noOutput": No messages.
  • firemode: Number - Fire mode to use (optional, default: 1):
    • 1: Single shot
    • 2: Burst
    • 3: Full auto
Return Value:Boolean - Returns false if target cannot be reached. Otherwise, true.


When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.


[getPos house1, tank1, [20,2,0], {hint 'FS Completed'}, "full", 2] call fn_vbs_fireSupport;

Additional Information

See also: fn vbs artilleryStrike, fn vbs createIED, fn vbs createComplexIED