• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hero - Finding Primary Stat

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
576
I was wondering if there is any way to find out the primary stat of a hero, i could have swore i've seen it before. I need this because i need a condition for one of my spells that would be like (Btw i wrapped it in trigger codes to make it stand out):

  • If Primary stat for 'Unit' is Inteligence Equal to True
Any ideas?
 
Level 10
Joined
Jan 21, 2007
Messages
576
It was just to find out what primary stat the hero had. But i just gave all the heroes a passive item ability (so its invis) with no bonuses that was either Int, Agi, or Str. So i can check if they have the ability instead. Problem Solved, but i am still curoius if there is a way to find this out with GuI, im sure there is a way with jass.
 
Level 5
Joined
May 27, 2007
Messages
132
Well if you're trying to identify a specific TYPE of hero, I can understand. Either way, there are multiple workarounds. Like you did, you jsut gave a passive ability that did nothing. There's other ways to do it, but that's one of them. Either way, problem solved.
 
Status
Not open for further replies.
Top