btpartname()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btpartname() · 696 B

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

Download the archive   « Back to the archive contents

& btpartname()
 
  Syntax: btpartname(<PartNum>,<nametype>)
 
  This function returns the part name for the part number specified.
 
  Arguments:
  <nametype>
 
    * short
    * long
    * vlong 

  Note: See the listforms command for a complete list of partnumbers 
  and partnames.
 
  Error Messages:

  * If <partnum> is not valid the function will return #-1 INVALID 
    PART NUMBER
  * If <nametype> is not valid the function will return #-1 INVALID 
    NAME TYPE 
 
  Example:
 
  > think btpartname(53,Short)
  A_CLSLRM10
  > think btpartname(16,Long)
  Ammo_StreakLRM-10
  > think btpartname(16,VLong)
  Ammo_CL.StreakLRM-10
 
  See Also: btpartmatch()

Site Stats

Snippets: 1791
Codebases: 571