setRepairCargo

From Bohemia Interactive Community
Revision as of 17:26, 4 May 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


vehicle setRepairCargo amount


Operand types:

vehicle: Object

amount: Number

Type of returned value:

Nothing

Description:

Set amount of repair resources in cargo space of repair vehicle.
Amount 1 is full cargo.


Example:

repairTruck1 setRepairCargo 0