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.sections that is valid for the template.

Returns

BtechMountedWeapon[] weapons
The mounted weapons. Each section field is a typed BtechSection constant and can be reused with live-unit functions.

See Also