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



Introduced in

Version:1.30

Description

Description:Returns all the muzzles of a unit, vehicle, and turret.

Syntax

Syntax:muzzles vehicle
Parameters:
  • vehicle: Object - Unit, vehicle, or turret.
Return Value:Array - Muzzles array.

Alternative Syntax

Syntax:muzzles [vehicle,turret]
Parameters:
  • vehicle: Object - Unit, vehicle, or turret.
  • turret: Array - Turret path.
Return Value:Array - Muzzles array.

Examples

Examples:
muzzles player; // may return ["vbs2_M203_Muzzle","muzzle_satchel_m183","muzzle_mineAT_M15","muzzle_mineAT_M19"]
muzzles [tank1,[1,2]]

Additional Information

See also: fn vbs getMuzzles, getMuzzleInfo
Multiplayer: 
Problems: 

Notes