- Joined
- Nov 4, 2006
- Messages
- 266
How can i make the creep heroes in my map go up a level every time it dies?
I mean something like the creep heroes in naruto hero builder or any other hero builder. Im making a herobuilder also XD. I experimented but couldn't find.
Here is something that i thought it would work.
Cuz i need the creephero levels to be the same as it happens after a creephero dies and the next spawned one has more levels.
I mean something like the creep heroes in naruto hero builder or any other hero builder. Im making a herobuilder also XD. I experimented but couldn't find.
Here is something that i thought it would work.
- Events
- Unit - A unit dies
- Conditions
- Actions
- If/Then/Else
- Loop Actions
- Conditions
- (Unit-Type of (Triggering Unit)) equal to Creephero
- Then Actions
- Unit Group - Pick every (Units of type Creephero) and do (Hero - Set (last created unit) to ((Hero level of (Killing Unit)) + 5), hide level up graphics)
- Else Actions
- Do nothing
Cuz i need the creephero levels to be the same as it happens after a creephero dies and the next spawned one has more levels.