btgetrealmaxspeed()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btgetrealmaxspeed() · 457 B

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

Download the archive   « Back to the archive contents

& btgetrealmaxspeed()
 
  Syntax: btgetrealmaxspeed(<UnitDB>)
 
  This function returns the maximum speed of the specified unit.
 
	Note: The function returns a dynamically calculated value, taking 
	into account damage and cargo weight.
 
  Error Messages:
 
  * If <UnitDB> is not a valid RS unit the function returns #-1 NOT A 
    MECH 
 
  Example:
  Given that #1234 is a valid unit
 
  > think btgetrealmaxspeed(#1234)
  86.000000

Site Stats

Snippets: 1791
Codebases: 571