Jump to content
Sign in to follow this  
Ganvai84

Revive Script in AddAction with ACE

Recommended Posts

Hey guys,

 

me again, running my head against a wall.
 

I want an addaction on a laptop where all dead players get revived when it is used.

I was going for something like

{_x setDamage 0;} forEach _humanPlayers;

BUT, we are using ACE and it seems like I am way to lost on my way to find what I would need to heal the players with ACE.
Anyone who could point me in the direction or has an idea how it should work?

 

Cheers,
Jan

Share this post


Link to post
Share on other sites
{_x call ACE_medical_treatment_fnc_fullHealLocal} forEach _humanPlayers;

 

  • Like 1

Share this post


Link to post
Share on other sites

Perfect man, thank you so much.

Is there a good place to find ACE Functions like that?

Share this post


Link to post
Share on other sites

Keep in mind that while fnc_fullHealLocal works on unconscious units, it doesn't work on dead units. In the latter case, you need to first configure respawn in your mission and then use setPlayerRespawnTime to respawn a player instantaneously.

  • Like 1

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
Sign in to follow this  

×