I made a medic squad and added a healing aura to the medic entity. (same a triage) I'm not sure how to make it so HE DOESN'T recieve healing from it; I just want nearby infantry to recieve healing. Does anyone know what the issue may be?
I made a medic squad and added a healing aura to the medic entity. (same a triage) I'm not sure how to make it so HE DOESN'T recieve healing from it; I just want nearby infantry to recieve healing. Does anyone know what the issue may be?
Hi there was a thread like this but with a halftrack, it should be the same.
The healing aura is an action and its in (triage_center) gamedata/construction_ext/on_construction_actions/ability_actions it's the action_01, you should just copy it into your medic unit.
Go to attrib\attrib\ebps\races\(your race)\soldiers\(your unit).rgd open it, and put the copied action in (your unit) gamedata\action_apply_ext\ability_actions\action_01
Now every unit of your medic squad will add a health regeneration bonus of 0,25 to every soldier within a radius of 15.
I did it myself with observation posts and it also worked with a halftrack so it can work.
Good luck.
Greeting WVPM
PS: if that doesn't work please attach your medic unit file so I can take a look at it.
I actually want it so it DOESN'T heal the medic. I just want it to heal nearby infantry. But thanks I got down the first step!!
Oh I must have skipped that part, but you can disable the healing of medics by all medics (takes some time) , but I think that is worse than medics self healing or you could make medics heal slower (health regeneration or the bonus).
Sorry I can't help you any further.
Greetings WVPM
Most of these things pick up a _type what it affects or gives modifiers too. In this case its an "infantry" type thats affected by the aurora. What you can do is just make a new medic type and give that to your medics so there not affected, as only infantry type will be affected
Thanks for the help sirpsychoj but (like I said) it will disable medics being healed by eachother and things like a triage center, while Ryunnz only wants to prevent medics healing themself.
Greetings WVPM
Last edited by General WVPM; 20th Jun 12 at 5:23 AM.
You could add a second target action to the medic that mitigates the HP regen modifier within a radius of like 0.01. So he'll negate/cancel out his own aura, but still be healable by other medics (due to the cumulative modifiers).
Thanks I_am_a_Spoon I didn't think of that and that sounds exactly like what Ryunnz wants.
I think we can close the thread now (if Ryunnz agrees).
Greetings WVPM
.. You could also just add the following unary to his heal aura's target filter:
operation: not
target info: type_ability_target_type\is_self.lua
There are currently 1 users browsing this thread. (0 members and 1 guests)