critical_slots
Lists a live unit section’s critical slots.
Function
Synopsis
btech.unit.critical_slots( unit, section )
Arguments
DbRef|Object unit- The live unit.
BtechSection section- A typed constant from
btech.unit.sectionsthat is valid for the unit.
Returns
BtechCriticalSlot[] slots- The critical-slot records. Each record’s
section,fire_modes, andammunition_modesfields contain typed constants from the correspondingbtech.unitnamespaces and can be reused as inputs without conversion.