Jump to content
manlikeg

First Aid Heal To 100%

Recommended Posts

How can i make it so the first aid heals to 100% instead of 75%. Is there a script of any sort?

Share this post


Link to post
Share on other sites
0 = this addEventHandler ["HandleHeal", {
	_this spawn {
		params ["_injured","_healer"];
		_damage = damage _injured;
		waitUntil {damage _injured != _damage};
		if (damage _injured < _damage) then {
			_injured setDamage 0;
		};
	};
}];

This should be enough to achieve that.

  • Like 5
  • Thanks 1

Share this post


Link to post
Share on other sites

Yeah but why? That's the whole point of having a combat life saver lol

Share this post


Link to post
Share on other sites
7 hours ago, Tajin said:

0 = this addEventHandler ["HandleHeal", {
	_this spawn {
		params ["_injured","_healer"];
		_damage = damage _injured;
		waitUntil {damage _injured != _damage};
		if (damage _injured < _damage) then {
			_injured setDamage 0;
		};
	};
}];

This should be enough to achieve that.

where do i put this

Share this post


Link to post
Share on other sites

You could put it in the init of any unit that it should affect.

  • Like 2

Share this post


Link to post
Share on other sites
36 minutes ago, Tajin said:

You could put it in the init of any unit that it should affect.

is there anyway to put it in the initplayerlocal or is it the unit description only? could i change ‘this’ to ‘player’?

Share this post


Link to post
Share on other sites

If you put it in initPlayerLocal.sqf then you'll need to change "this" to "player" as you said. (:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×