• 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.

How to check if player has that number of attribute

Status
Not open for further replies.
Level 10
Joined
Jan 20, 2011
Messages
492
Create your event, then create a variable that is an integer value, then use this line

  • Set Integer = (Stat of (Triggering unit) (Exclude bonuses))
Then use an if statement to run what you want to do.
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
Create your event, then create a variable that is an integer value, then use this line

  • Set Integer = (Stat of (Triggering unit) (Exclude bonuses))
Then use an if statement to run what you want to do.

what does excluded mean?
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
Create your event, then create a variable that is an integer value, then use this line

  • Set Integer = (Stat of (Triggering unit) (Exclude bonuses))
Then use an if statement to run what you want to do.

How can i exactly make it like when its over 500 or something (i will do the action)
 
Level 6
Joined
May 4, 2012
Messages
187
What do you mean make it?

You just create the variable, set its value, and do the actions then you are okay...
 
Status
Not open for further replies.
Top