BlossomPone
Chieftain
- Joined
- Oct 25, 2014
- Messages
- 23
Hi there,
I created a specialized explorer unit, inheriting from the UNITCLASS_EXPLORER type. However, for some reason, after obtaining purity level 1, my explorers are still being eaten by aliens
I'm not quite sure how to fix this, because i guess it should just give the unit the immune to aliens perk when theyre created. If unit class overrides dont inherit stuff like this, thats fine, but im not sure what i should do.
My first though is to create a lua script to check whenever a unit is created, etc etc. However, not really sure how to do THAT, as im not sure how to tell what the afinity levels are for the players. Bah! Any ideas?
I created a specialized explorer unit, inheriting from the UNITCLASS_EXPLORER type. However, for some reason, after obtaining purity level 1, my explorers are still being eaten by aliens

I'm not quite sure how to fix this, because i guess it should just give the unit the immune to aliens perk when theyre created. If unit class overrides dont inherit stuff like this, thats fine, but im not sure what i should do.
My first though is to create a lua script to check whenever a unit is created, etc etc. However, not really sure how to do THAT, as im not sure how to tell what the afinity levels are for the players. Bah! Any ideas?