& btcritstatus()2
Error Messages:
* If <UnitDB> is not a valid unit the function returns #-1 NO SUCH
MECH
* If <location> is a null string or very invalid the function
returns #-1 INVALID SECTION
Note: <location> is not checked extensively - eg a 'location' of l will pass
error checking. Therefore it is the programmers responsibility to ensure a
correct argument
Example:
Given that #1234 is an EXT-4D with a destroyed Upper Actuator and
MediumLaser in the left arm
> think btcritstatus(#1234, la)
1||ShoulderOrHip|0|3,2||UpperActuator|-
1|3,3||LowerActuator|0|3,4||HandOrFootActuator|0|3,5
||MediumLaser|0|1,6||MediumLaser|-
1|1,7||Empty|0|5,8||Empty|0|5,9||Empty|0|5,10||Empty|0|5,
11||Empty|0|5,12||Empty|0|5