Quote from: Dark_Phantom on November 22, 2020, 06:20:41 PMRight, but what I mean is making it so the player has the "hero class", and if I'm correct only 1 hero can spawn, however I may be off the mark here.
You can't change the state of the units after they are loaded in, unlike BF2.
For example:
At load time, the units are called in. For the purposes of BF1, they are done. You also can't lock classes out like in BF2. Now, in BF2, with the award system/hero spawning, you could do this, but none of this dynamic code existed for the first game.
Quote from: Dark_Phantom on November 22, 2020, 06:20:41 PMYeah, no, I did that. I tested it against less harmful items like grenades, and the "AddHealth" only activates when on the ground, while being launching in the air with the falling animation, the "AddHealth" doesn't activate.
Melee combat and Jedi were not a focus of BF1. That's why you see such limited support for it. Also, if AddHealth isn't working, please check for typos. AddHealth should be adding once a second if I remember correctly (like Napseeker said), even if you are in the air (I could be wrong here).