Auto Heal

If you liked this item, please rate it up on Steam Workshop page.

Author: Dschitarre

Last revision: 2 Sep, 2023 at 15:09 UTC

File size: 21.5 KB

On Steam Workshop

Description:
General Explanation:

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.

Optionally Enable Globally:

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.

Easy usage:

This add-on comes with an Eden Editor Module. There you can change the configuration.

Advanced usage:

If you do not want to use the Eden Editor Module, You can start the script globally by calling:

remoteExecCall ["AH_fnc_startAutoHealServer", 2];

To disable the script globally, call:

remoteExecCall ["AH_fnc_stopAutoHealServer", 2];

Configuration Variables:
  • 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