Jump to content

Recommended Posts

Hello. I'm planning a cpuple of mission for Ace but i would like to have a customized medical script. It should be like this:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if this canheal then goto #medic else goto #nomedic;

@medic:
if this 0,6<healt<=1 goto #bleedingslow; 
if this 0,3<healt<=0,6 goto #bleedingfast;
if this healt<=0,3 goto #unconscious;
if this is close to a bleeding soldier can bandage him;
if this is close to an unconscious soldier and has an ace_medicalkit can heal and restore 0,3 health

@nomedic:
if this 0,6<healt<=1 goto #bleedingslow; 
if this 0,3<healt<=0,6 goto #bleedingfast;
if this healt<=0,3 goto #unconscious;
if this is close to a bleeding soldier can bandage him;

#bleedingslow:
loose 0,1 health every 15 seconds
if this has ace_bandages or ace_rags then addaction "#stopbleeding"

#bleedingfast:
loose 0,1 health every 5 seconds
if this has ace_bandages or ace_rags then addaction "#stopbleeding"

#unconscious:
loose 0,1 health every 5 seconds and is unconscious (like arma 2 medical system can be carried or dragged)

#stopbleeding:
this remove ace_bandage or ace_rags
exit the script:  

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

As you can see i don't know anything about scripting so maybe someone can do it form me.

 

Thanks a lot!

Mortyfero

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

×