Heal_action Script or Dr SNKMAN�s Incredible Snake Oil ElixirCures what ails ya!
DescriptionA script that allows players to heal themselves for a specified range of damage a settable number of times per respawn.
Features1. Heal action only becomes available when the player's damage falls within a specified range.
2. Can set the number of times the heal action becomes available per respawn.
3. The upper and lower bounds of the "self" heal range can be set by the mission maker. Can mantain the importance of the Medics role by setting this to a fairly short range (ie. 0.1 - 0.5) therefore a medic is still critical to heal more severe damage.
To implement1. Just copy across the code from the init.sqf file and copy the heal_sqf folder into your mission directory.
2. Set the number of heals each player gets per spawn in the NORRN_no_of_heals variable of the init.sqf.
3. Set the upper and lower bounds of the heal range in the init.sqf ie. the amount of damage that you want players to be able to "self" heal.
eg.
NORRN_lower_bound_heal = 0.1;
NORRN_upper_bound_heal = 0.8;
4. Name all playable units in the editor eg. alpha_1
NB: If you are using the script for single player you do not need the description.ext file.
Test MissionYou're going to need two instances of ArmA running or two players to test this script. Just shoot each other in the foot or leg (ie. do not kill the other player) and the heal option should become available in the action menu.
LimitationsA version of this script is already implemented in my revive_sqf scripts so please do not try to implement the stand alone Heal-action script with the revive scripts. An older version of this script has been available on the BIS forums for some time see here:
http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=d2ad4d0f08b92c5bd36759825ff1543a;act=ST;f=71;t=64470;hl=norrinTestedVer 1.08 SP and MP with JIP.