Jump to content
Sign in to follow this  
mattxr

Making a Medic

Recommended Posts

IS there anyway possible to make a unit into a medic buy adding a certain line into his init. Like you can with vehicles??

What are the codes???

I really need help smile_o.gif

Share this post


Link to post
Share on other sites

AFAIK such ability can be defined in the unit's config only. No way to turn a simple soldier into a medic in the mission editor. sad_o.gif

Klavan

Share this post


Link to post
Share on other sites
AFAIK such ability can be defined in the unit's config only. No way to turn a simple soldier into a medic in the mission editor. sad_o.gif

Klavan

Exactly, you can only "make" somebody medic by config (or with a bit scripting).

Share this post


Link to post
Share on other sites

What exactly are you trying to do? Because if you want a medic with a different weapon, you could use a removeWeapon and then addWeapon script in the init.

Share this post


Link to post
Share on other sites

I need a Special Forces Solider to be allowed to heal other units and since the medic doesnt look SF i cant do it sad_o.gif

Share this post


Link to post
Share on other sites

If you don't care about looks, you could just change out the weapons. Otherwise, you're SOL.

Share this post


Link to post
Share on other sites

maybe a script? sad_o.gif

why dont BIS make attendant=1 work in the init sad_o.gifsad_o.gif its not fair.

Share this post


Link to post
Share on other sites

as raedor mentioned... you could script it... i can't remember the code by heart but the logic would be something like

#start

wait until player within certain distance of this unit

    add heal action menu item "Heal at medic" (define heal.sqs)

wait until player no longer within healing distance

    remove heal action menu item

goto start

mind you, that's not going to let you heal the AI through the action menu.... and if it's going to be a MP mission you'd have to do a couple things differently.........

however, what raedor says below this also recieves four thumbs up tounge2.gif

Share this post


Link to post
Share on other sites
maybe a script? sad_o.gif

why dont BIS make attendant=1 work in the init sad_o.gifsad_o.gif its not fair.

You could send G85 a request to put a SF guy with attendant=1 in their next version of the editor update... whistle.gif

Share this post


Link to post
Share on other sites

Might do.. tounge2.gif BTW: Also on the topic of healing where can i find a Square Medic Tent? Or isn't there any? xmas_o.gif

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  

×