View Full Version : Making a Medic
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 http://forums.bistudio.com/oldsmileys/smile_o.gif
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. http://forums.bistudio.com/oldsmileys/sad_o.gif
Klavan
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. http://forums.bistudio.com/oldsmileys/sad_o.gif
Klavan
Exactly, you can only "make" somebody medic by config (or with a bit scripting).
8Ball596
Dec 27 2006, 17:03
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.
I need a Special Forces Solider to be allowed to heal other units and since the medic doesnt look SF i cant do it http://forums.bistudio.com/oldsmileys/sad_o.gif
8Ball596
Dec 27 2006, 17:14
If you don't care about looks, you could just change out the weapons. Otherwise, you're SOL.
maybe a script? http://forums.bistudio.com/oldsmileys/sad_o.gif
why dont BIS make attendant=1 work in the init http://forums.bistudio.com/oldsmileys/sad_o.gif http://forums.bistudio.com/oldsmileys/sad_o.gif its not fair.
Homer Johnston
Dec 27 2006, 17:22
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 http://forums.bistudio.com/oldsmileys/tounge2.gif
maybe a script? http://forums.bistudio.com/oldsmileys/sad_o.gif
why dont BIS make attendant=1 work in the init http://forums.bistudio.com/oldsmileys/sad_o.gif http://forums.bistudio.com/oldsmileys/sad_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... http://forums.bistudio.com/oldsmileys/whistle.gif
Might do.. http://forums.bistudio.com/oldsmileys/tounge2.gif BTW: Also on the topic of healing where can i find a Square Medic Tent? Or isn't there any? http://forums.bistudio.com/oldsmileys/xmas_o.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.