ObjectTemplate.HealFactor

From Pilot_51's Wiki
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