Jump to content

Sign in to follow this  
roguetrooper

Releasing a unit from unconsciousness by script?

Recommended Posts

How can you release a unit (player and AI) that lies with lifestate "unconscious" (according modules on the map and sync'ed) on the ground by SCRIPT/COMMANDS? (not by first-aid-module-sync'ed units)

I've tried a trigger with

timer 10 seconds

condition:

(local player1) and ((lifeState player1) == "unconscious")

activation:

player1 setCaptive false;
if ((local player1) and ((lifeState player1) == "unconscious")) then {player1 setDamage 0.87; [color="#FF0000"]player1 setUnconscious false[/color];};

No success so far.

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  

×