Hah, I've decided to ask all the little questions that have always bugged me all at once. I should have limited to one thread instead of posting them as I thought of them, though. Sorry about that.
Anyway, my question is, is there anyway to make a COMPLETELY invincible unit?
You see, I want the player to be in a group, and the leader of this group to stay alive throughout the whole mission (being one of the campaign's main characters).
this setCaptive true
works to some extent but there's still a chance the leader could be killed by an out of control grenade, a tank explosion, etc...
There must be a script to keep completely invincible somehow. What about something like this in a trigger:
Condition:
not alive leader1
On Activation:
Alive leader1
or something? I'm sure 'alive leader1' isn't a command, but it's an idea to keep him alive if he's killed.
It would be good though, if damage didn't effect him in any way. That way, the player would never be stuck with a leader that has to crawl through the whole mission.
Is any of this possible? Through a script, maybe?