btpartweight()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btpartweight() · 333 B

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

Download the archive   « Back to the archive contents

& btpartweight()
 
  Syntax: btpartweight (<partname>)
 
  This function returns the weight of <partname>.
 
  Error Messages:
 
  * If <partname> is not valid the function returns #-1 INVALID PART 
    NAME 
 
  Example:
  Given that XXL_ENGINE is a valid part and weighs 1
 
  > think btgetweight(xxl_engine)
  1.000

Site Stats

Snippets: 1791
Codebases: 571