I'm sure some people have already figured this out, because honestly it is really easy to do, but I just thought I'd put this out there in case anyone was interested and didn't know about it. Let's say you want to make it so that someone regenerates health over time the way Urai and Obi-Wan (in FoC) do. I'll just use Obi-Wan as my example. You go into his XML, in Obi-Wan's case it's namedherounits.xml, and in the section with the special abilities find and copy this section (or just copy it from here): Ground_Automatic5.0 0.0 0.07 5.0YesReinforcement_Point_Radius_OverlayObi_Wan_KenobiUnit_Force_Healing_PulseB_HEADColor_Flash1.2, 2.0, 1.20.61Color_Flash1.2, 2.0, 1.20.61 Now paste it into the special abilities of whoever you want to give the ability to. It needs to go in the second section where it talks about special abilities, where it also talks about stuff like removing corruption or blocking blaster shots. The most important part, though, is changing the line to identify whoever you're giving the ability to. So for example if you want to make Luke self-healing, make it say Luke_Skywalker_Jedi in that line. You can also change the heal percent and heal interval if you want to make them heal more or less damage at a slower or faster pace. I've already used this to make all the Jedi/Sith characters self-healing so they'll be a bit more formidable. Makes it harder for a bunch of pissant Gungans holed up in a bunker to take out Darth Vader. I haven't tried giving this ability to non-Force users, but I'm sure it would still work, seeing as Urai isn't Force sensitive but he still has the ability.
change heal range to 250 and Infantry and he will have a Healing Aura.
Set heal amount as -0.01 and he will slowly die as he gets older.
Haha, nice. Gives a good incentive to finish the battle quickly.
PS I've only done this in FoC. It may not even work in EaW because as far as I know, the "Force heal" ability doesn't exist in that game. I don't know.
Apart from force healing, which is the code for normal units to recover?