Difference between revisions of "Manual:DIL Manual/set weight"
Jump to navigation
Jump to search
(Created page with "= set_weight( u : unitptr, i : integer ) = ''' Parameters ''' u : the unit on which you wish to alter the weight. i : the new weight ''' Description ''' Use this procedu...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = set_weight( u : unitptr, | + | = set_weight( u : unitptr, lbs : integer ) = |
''' Parameters ''' | ''' Parameters ''' | ||
u : the unit on which you wish to alter the weight. | u : the unit on which you wish to alter the weight. | ||
− | + | lbs : the new weight in pounds (½ kg) | |
''' Description ''' | ''' Description ''' | ||
Use this procedure on a unit to change it's weight (not the base | Use this procedure on a unit to change it's weight (not the base | ||
weight). | weight). | ||
+ | |||
+ | |||
+ | See also: | ||
+ | [[Manual:DIL_Manual/set_weight_base|set_weight_base()]] |
Latest revision as of 21:51, 9 December 2020
set_weight( u : unitptr, lbs : integer )
Parameters
u : the unit on which you wish to alter the weight. lbs : the new weight in pounds (½ kg)
Description Use this procedure on a unit to change it's weight (not the base weight).
See also:
set_weight_base()