FireWeapon( <barrel tag>, <target ent>, <target offset> )

Module: Vehicles
SP Only


Fire the vehicle's weapon

Call this on:

a vehicle


nFlak FireWeapon();

Optional Args

  • 1 : <barrel tag> The tag name of the barrel to fire from. Passing in nothing or an empty string will default to use the vehicle's main turret.
  • 2 : <target ent> A target entity for guided missiles
  • 3 : <target offset>