Discuss this page on this pages [[objGetArmorCriticality Talk Page|TalkPage]] === objGetArmorCriticality === ^ Syntax | (objGetArmorCriticality obj armorSegment) | ^ Arguments | obj: the space object | ^ | armorSegment: The armor segment to check. Also accepts an item type(?) | ^ Returns | criticality type | ^ Category | [[spaceObject functions]]| ^ Description | Used for determining if a given armor segment is a critical segment. Noncritical armor segments are no longer used; use [[modding:xml:shipclass#Compartments|internal compartments]] instead. | === Example === (objGetArmorCriticality gPlayership 0) Returns "critical" if the playership's forward armor segment is a critical segment, which it should be. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list