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