WorkOnSoldiers Property

Usage:
   ObjectTemplate.WorkOnSoldiers boolean

Argument values:

argument 1:    0, 1; most commonly 0

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

Related properties: WorkOnVehicles

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/Vehicles/Sea/Common/Objects.con)
   rem -------------------------------------
   ObjectTemplate.Create SupplyDepot ShipMedicBoxRepairpoint
   ObjectTemplate.Radius 2
   ObjectTemplate.Team 0
   ObjectTemplate.WorkOnVehicles 0
   ObjectTemplate.WorkOnSoldiers 1
   ObjectTemplate.SetHealth -1 4.0 0


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