Hi guys,
I have a very simple question that I have been trying to figure out unsuccessfully...
How do I get a unit's faction via the descriptors?
Code:public virtual int Faction { get { return GetDescriptor<int>(CGUnitData.factionTemplate); } }
I know this is wrong therefore the question.
I could not find anything that would give me the faction right away. All I need is Horde or Alliance. I don't need UnitReaction or anything like that at the moment.
Thanks for the help!