section_condition
Returns a live unit section’s current condition.
Function
Synopsis
btech.unit.section_condition( unit, section )
Arguments
DbRef|Object unit- The live unit.
BtechSection section- A typed constant from
btech.unit.sectionsthat is valid for the unit.
Returns
"operational"|"destroyed"|"flooded" condition"operational","destroyed", or"flooded".