btcritstatus()2
btmux-0.6-rc4/game/text/wizhelp/cat_functions/btcritstatus()2 · 788 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& 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