weapons
Lists the weapons mounted on a live unit.
Function
Synopsis
btech.unit.weapons( unit, section )
Arguments
DbRef|Object unit- The live unit.
BtechSection|nil section- An optional typed constant from
btech.unit.sectionsthat is valid for the unit.
Returns
BtechMountedWeapon[] weapons- The mounted weapons. Each
sectionfield is a typedBtechSectionconstant and can be reused as an input.