WorkOnVehicles Property

Usage:
   ObjectTemplate.WorkOnVehicles boolean

Argument values:

argument 1:    0, 1; most commonly 1

Description: This property specifies whether a SupplyDepot object affects (repairs, resupplies) vehicles or not.

Related properties: WorkOnSoldiers

Used in object types (and how often in each type): SupplyDepot (85%)

Used in a total of 33 .con files: Objects.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, objects/MOVE_FILES, objects/Buildings, Bf1942/Levels

Example: (from objects/Buildings/Common/Hangar1/Objects.con)
   ObjectTemplate.Create SupplyDepot AirplaneRepairpoint
   ObjectTemplate.Radius 20
   ObjectTemplate.Team 0
   rem ObjectTemplate.addVehicleType tiger -1 2 0
   rem ObjectTemplate.addVehicleType Panzeriv -1 2 0
   rem ObjectTemplate.addVehicleType hanomag -1 2 0
   rem ObjectTemplate.addVehicleType wespe -1 2 0
   rem ObjectTemplate.addVehicleType kubelwagen -1 2 0
   rem ObjectTemplate.addVehicleType sherman -1 2 0
   rem ObjectTemplate.addVehicleType m3a1 -1 2 0
   rem ObjectTemplate.addVehicleType priest -1 2 0
   rem ObjectTemplate.addVehicleType willy -1 2 0
   rem ObjectTemplate.addVehicleType m10 -1 2 0
   rem ObjectTemplate.addVehicleType chi-ha -1 2 0
   rem ObjectTemplate.addVehicleType T34 -1 2 0
   rem ObjectTemplate.addVehicleType T34-84 -1 2 0
   ObjectTemplate.AddVehicleType corsair -1 4 0
   ObjectTemplate.AddVehicleType sbd -1 4 0
   ObjectTemplate.AddVehicleType sbd-t -1 4 0
   ObjectTemplate.AddVehicleType mustang -1 4 0
   ObjectTemplate.AddVehicleType spitfire -1 4 0
   ObjectTemplate.AddVehicleType bf109 -1 4 0
   ObjectTemplate.AddVehicleType stuka -1 4 0
   ObjectTemplate.AddVehicleType aichival -1 4 0
   ObjectTemplate.AddVehicleType aichival-t -1 4 0
   ObjectTemplate.AddVehicleType zero -1 4 0
   ObjectTemplate.AddVehicleType yak9 -1 4 0
   rem ObjectTemplate.addVehicleType Sturmgeschutz -1 4 0
   rem ObjectTemplate.addVehicleType M3GMC -1 4 0
   rem ObjectTemplate.addVehicleType M3Grant -1 4 0
   rem ObjectTemplate.addVehicleType m11-39 -1 4 0
   ObjectTemplate.AddVehicleType BF110 -1 4 0
   ObjectTemplate.AddVehicleType Mosquito -1 4 0
   ObjectTemplate.AddAmmoType 0 -1 10 0
   ObjectTemplate.WorkOnVehicles 1
   ObjectTemplate.WorkOnSoldiers 0


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.