• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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.
 
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.
Back
Top