ObjectTemplate.HealFactor

From Pilot_51's Wiki
Revision as of 07:54, 20 November 2008 by Pilot 51 (talk | contribs) (New page: == MDT description == How fast a medic can heal soldiers, in terms of Hitpoints per frame, with there being 30 frames a second that the engine performs this function. Medics heal using: ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MDT description

How fast a medic can heal soldiers, in terms of Hitpoints per frame, with there being 30 frames a second that the engine performs this function. Medics heal using:

 ObjectTemplate.HealFactor 0.25

for healing others (0.25 * 30 fps = 7.5 hitpoints/second) within HealDistance meters, and:

 ObjectTemplate.SelfHealFactor 0.15

(0.15 * 30 fps = 4.5 hitpoints/second) for healing themselves.

In contrast, SupplyDepot objects use SetHealth for healing people.

Source and more details

Additional Description