Hi again guys,
I've got a problem that's driving me bananas. I've got a script that I want to run for every Man type unit whenever they get hit. So I want to put an eventHandler on all Man type units globally.
I want to do this as part of a mod so it runs on all missions, so for example I could run the mod with "-mod=@blahblah" and then open Trial By Fire or some other vanilla mission and the eventhandler would be applied to all units there.
I've spent five hours trying to solve this and I've reverse engineered tons of other mods to see how they do it and nothing I do seems to work, even when it seems to be the same code as other people's mods.
Please help me here, I'm going mad.