Yeah, I saw the Race Comparison, but there are no "Creep, Common or Other" like in "Stats-Race". Except for 4 default races, there are only demons...Actually there's a Race comparison in Condition section with 5 races. I tested it out and believe the following trigger may help you to detect:
Race
Events
Player - Player 1 (Red) Selects a unit
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Triggering unit)) Equal to Human
Then - Actions
Game - Display to (All players) the text: Human
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Triggering unit)) Equal to Orc
Then - Actions
Game - Display to (All players) the text: Orc
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Triggering unit)) Equal to Undead
Then - Actions
Game - Display to (All players) the text: Undead
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Triggering unit)) Equal to Night Elf
Then - Actions
Game - Display to (All players) the text: Night Elf
Else - Actions
Game - Display to (All players) the text: Demon
Note that Neutral units such as Chicken, Firelord, Lady Vashj is classified as Demon. This also corresponds if you customize their race in the Object Editor.
I saw this field, but What is this field responsible for? I can see many units have value "100" in it.If you're not using it for anything else, you could use the Point Value stat and say e.g. 1 = human, 2 = orc etc., and point value is something you can get with an integer comparison, so that's useful