setRepairCargo

From Bohemia Interactive Community
Revision as of 20:33, 1 June 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