• 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 level doesn't stay at 200

Status
Not open for further replies.
Level 5
Joined
Jan 15, 2009
Messages
80
In my map I want to see what all the heroes damage is when they are level 200, I set the heroes level to 200 in the editor but when I test the map the unit doesn't stay at 200, it goes down to 1. I tried using a trigger to set his level to 200 after the game starts but then his level is set to 141 or something like that. I don't know why it isn't working, I have the maximum level set to 200 and yet.. it doesn't work! For anyone who helps me they will get the satisfaction of knowing they made a difference! (And +Rep..)
 

sPy

sPy

Level 22
Joined
Apr 10, 2009
Messages
380
Like light bolt30 and Mac_MacNuggets said, you might set the level of the heroes at the wrong place, like below:
Levelwrong.jpg
IF you set there, then it is wrong. I don't know what's that data field does actually.

You should set it something like this:
Levelcorrect.JPG
or this
  • Unit Group - Pick every unit in (Units in (Entire map) matching (((Matching unit) is A Hero) Equal to True)) and do (Hero - Set (Picked unit) Hero-level to 200, Hide level-up graphics)
 
Level 13
Joined
Oct 25, 2009
Messages
995
It work for me :3
go Advanced - Gameplay Constants find hero maximum level and set to 200
after that,do this trigger
  • Level
    • Events
      • Time - Elapsed game time is 0.20 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units within 9999999.00 of (Center of (Playable map area)) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
        • Loop - Actions
          • Hero - Set (Picked unit) Hero-level to 200, Hide level-up graphics
:goblin_boom:
 
Status
Not open for further replies.
Top