ObjectTemplate.SetHealth

From Pilot_51's Wiki
Revision as of 22:12, 17 November 2008 by Pilot 51 (talk | contribs) (New page: == MDT description == Set for medical lockers and supply boxes. The first argument is the amount of medical supplies this supply point has to give out; "-1" means "infinite", and setting i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MDT description

Set for medical lockers and supply boxes. The first argument is the amount of medical supplies this supply point has to give out; "-1" means "infinite", and setting it to a number limits the amount it can heal. The second number determines how much health (Hitpoints) a soldier within Radius of the object gains each second. The third argument is how fast the supply point itself gets resupplied, if the first argument is not set to "-1" (this last argument is not used in any BF1942 battles, and so, according to the coders, may not actually work).

In BF 1942 the heal value is generally set to 4.0, and a soldier has 30 hitpoints, so a gravely wounded soldier fully heals in 7.5 seconds.

In contrast, medics use the HealFactor property for their healing rate.

Source and more details

Additional Description