btparttype()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btparttype() · 435 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& btparttype()
 
  Syntax: btparttype(<partname>)
 
  This function returns the type for the specified <partname>.
 
  Arguments:
  <Parttypes>
 
  * WEAP
  * AMMO
  * BOMB
  * PART
  * CARG
  * OTHER 
 
  Error Messages:
 
  * If <partname> is not a valid part the function returns #-1 
    INVALID PART NAME 
 
  Example:
 
  Given that CL.ERPPC is a valid partname
 
  > think btparttype(cl.erppc)
  WEAP

Site Stats

Snippets: 1791
Codebases: 571