Arma 3
Not enough ratings
Auto Heal
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
File Size
Posted
Updated
20.659 KB
19 Jul, 2022 @ 8:31am
26 Jun @ 6:57am
12 Change Notes ( view )

Subscribe to download
Auto Heal

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.

Source Code:
The source code is available on GitHub (view[github.com]).

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.


Usage as a stand-alone script:
This mod can also be used stand-alone, i.e, without a mod. For this, you have to execute the .sqf files in the "scripts/" folder on the respective machines. "fnc_clientServer.sqf" has to be executed on each client and on the server, and "fnc_server.sqf" has to be executed on the server. Note that the server can also be a client.

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
4 Comments
Dschitarre  [author] 5 Oct @ 2:01pm 
@Frost How are you using it? You have to either place the eden editor module or call the function AH_fnc_startAutoHealServer on the server.
Frost 5 Oct @ 2:22am 
Doesn't seem to work
nanner 28 Feb, 2023 @ 6:23am 
It probably does not work fine with ace.
XOFGaming84 25 Aug, 2022 @ 9:14pm 
Does this work fine with ace?