UnitFaction menu

Shout-Out

User Tag List

Thread: UnitFaction

Results 1 to 2 of 2
  1. #1
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    UnitFaction

    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!

    UnitFaction
  2. #2
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

All times are GMT -5. The time now is 10:05 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search