Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

What Difference does the Race of a Unit make?

Discussion in 'World Editor Help Zone' started by CaptainHero, Nov 17, 2015.

  1. CaptainHero

    CaptainHero

    Joined:
    Sep 30, 2012
    Messages:
    197
    Resources:
    1
    Spells:
    1
    Resources:
    1
    I was wondering what difference the unit race does?
    talking about
    Stats - Race: Commoner, Creep, Critter, Demon, Human, Naga, Night Elf, None, Orc, Other, Undead

    I am not talking about
    Stats-Unit Classification: for example Undead, Ancient, Suicidal etc

    So the only two things i discovered so far is that Units, which are of Undead Race, can't dispel Blight with AOE Dispels and can be targeted with 'Unsummon Building'.

    Is there anything else?

    Surely you can ask for the Race and build a trigger around it, but is there already such a thing hard coded in the game?

    If you summon a Main-Building with the item 'Tiny Great Hall', the race of the player matters and not the unit.

    Cheers Thanks in advance!
     
  2. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    I don't think the race matters for anything other than the things you mentioned. Upgrades, maybe.

    However, as there is a function that retrieves the race of a unit, you can use it for game-relevant stuff.
     
  3. Rheiko

    Rheiko

    Joined:
    Aug 27, 2013
    Messages:
    2,926
    Resources:
    7
    Icons:
    2
    Spells:
    3
    Tutorials:
    2
    Resources:
    7
    As far as I know, it doesn't make any difference. I guess It's only for categorization so it could be much easier to organize things.
     
  4. Kino

    Kino

    Joined:
    Oct 12, 2008
    Messages:
    1,714
    Resources:
    19
    Models:
    5
    Maps:
    14
    Resources:
    19
    Demon units are reputedly immune to Devour.
     
  5. Veritas 117

    Veritas 117

    Joined:
    Nov 17, 2010
    Messages:
    1,233
    Resources:
    0
    Resources:
    0
    I set different races and classifications in my game for a few reasons. One is for the creep respawn. If they are a certain classification like "giant" then they will respawn otherwise they don't.

    I also use different races to have different blood effects from abilities. If a unit is undead or a demon, or a bug, or a human they all have different colors of blood.

    All in all it's not that important but it can be a good way to separate units for triggering purposes
     
  6. Makoodzaka

    Makoodzaka

    Joined:
    May 9, 2009
    Messages:
    696
    Resources:
    2
    Models:
    1
    Maps:
    1
    Resources:
    2
    For builders the icon that is displayed to open the build menu as well as the style in which the structure is built is determined by the units race. Undead means the builder will just summon a building and it will build by itself, human means he has to stand outside and hit it, orc/night elf, the unit goes inside the building.
     
  7. kingkwong

    kingkwong

    Joined:
    Nov 19, 2015
    Messages:
    283
    Resources:
    0
    Resources:
    0
    I just set everything to Human so its easier and faster to select things when I trigger stuff. I use other races for dummies and special effects.

    Only other time to use another race would be the above mentioned.
     
  8. Eagle XI

    Eagle XI

    Joined:
    Mar 9, 2012
    Messages:
    1,359
    Resources:
    117
    Models:
    2
    Icons:
    109
    Packs:
    4
    Skins:
    2
    Resources:
    117
    Demon is subject to Death Coil/Holy Light as if undead.
    Naga has it's own Build ability and icon.
    Unit that is going to be Sacrificed needs to be of undead race otherwise crashes.
    Human, Orc, Nightelf get healed by the Holy Light.
    In order for Entangle Goldmine to appear on command card townhall must have ancient classification, have uproot ability and be of race nightelf. <-probably not remembering right, was it shorter ?

    I never tried how race: none gets handled on an unit ingame.