setRepairCargo

From Bohemia Interactive Community
Revision as of 16:39, 22 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

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