Auto Heal
This add-on globally enables auto-heal functionality. That means, after a specified amount of time being injured, units automatically start healing at a specified speed. Also, it can distinguish between medic units and non-medic units. By default medic units heal faster.
This add-on can be used as a server-side mod or as a client-side mod. If you want to enable it globally – that is, for every single-player mission and locally hosted multi-player mission – you can use my add-on Auto Heal Global Enabler.
This add-on comes with an Eden Editor Module. There you can change the configuration.
If you do not want to use the Eden Editor Module, You can start the script globally by calling:
To disable the script globally, call:
- AH_var_HealSpeed = 1 : speed of healing, relative to the default speed
- AH_var_HealCooldown = 12: time in seconds, after which a non-medic unit begins to heal
- AH_var_HealCooldownMedic = 8 : time in seconds, after which a medic unit begins to heal