btweapstat()2

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btweapstat()2 · 450 B

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

Download the archive   « Back to the archive contents

& btweapstat()2
 
  Note: <type> will return 0 for energy weapons, 1 for missile 
  weapons, 2 for artillery weapons, 3 for ammo weapons and 4 for other 
  weapons (eg sword)
 
  Error Messages:
 
  * If <weaponname> is not a valid partname the function returns #-1 
    INVALID PART NAME
  * if <weaponname> is not a valid weaponname the function returns #
    -1 NOT A WEAPON 

  Example:
 
  > think btweapstat(cl.erppc,bv)
  412

Site Stats

Snippets: 1791
Codebases: 571