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

This sounds crazy yet it is perfect!

Status
Not open for further replies.
Level 7
Joined
Dec 8, 2005
Messages
319
ok this is what i need! i am making a map that instead of saving a heros lvl, i want to save the hero it self. i want to add one food per every 1000 kills to the hero. and the food is equal to there rank. so by saving the hero i save his rank with him! plus another thing is a trigger that increases the rate of which the hero gains exp according to how much food they have. if anyone can help or have any ideas it will be greatly appreciated.
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
When it gets a rank point, also set its custom value one point higher. When u save the hero, u can store an integer (the custom value of the hero at that moment)

and for the less exp

Events: Unit dies
Conditions: -----
Actions:
If: Integer - custom value of 'killing unit (hero)' = greater then XXX
Then: Hero - set exp rate to XXX%
Else: Do Nothing
 
Status
Not open for further replies.
Top