I know everyone has their own creep spawning system, but I havent found many like the one I use in custom hero arena. It is pretty simple and easy to make, so I figured I would throw it out there for anyone to use.
I am not on my home computer, so cannot simply copy/paste the trigger, which would make this much easier, so i will try to explain it. I dont know the names of all the events and actions, so hopefully someone who knows what to click can clear this up for you.
Periodic event, Every X seconds.... (i use 10 seconds, you could use 1 minute if you want)
pick every unit in playable map equal to "is a hero" and "is controlled by a user"
Set *variable, interger I think* to 0
set *variable, interger I think* to current value +(level of picked unit) (divided by) (number of picked units)
Alright, this is my best effort at remembering a trigger I've stared at for years... I'm sure I'm leaving something out... But what that does, is set your variable to be the average hero level.
Now for the creep spawning, it is simple.
Every (however often you want to spawn a creep) seconds
Create 1 level (*interger stated above*) random-creep type unit for neutral hostile at (wherever your creep spawn is)
questions? comments? anyone think it is lame? Biggest problem is that you gotta make a lotttt of creeps to keep the spawns interesting. Custom Hero Arena has about 700 creeps. Though a variety isnt required, it is always nice to have it.
I am not on my home computer, so cannot simply copy/paste the trigger, which would make this much easier, so i will try to explain it. I dont know the names of all the events and actions, so hopefully someone who knows what to click can clear this up for you.
Periodic event, Every X seconds.... (i use 10 seconds, you could use 1 minute if you want)
pick every unit in playable map equal to "is a hero" and "is controlled by a user"
Set *variable, interger I think* to 0
set *variable, interger I think* to current value +(level of picked unit) (divided by) (number of picked units)
Alright, this is my best effort at remembering a trigger I've stared at for years... I'm sure I'm leaving something out... But what that does, is set your variable to be the average hero level.
Now for the creep spawning, it is simple.
Every (however often you want to spawn a creep) seconds
Create 1 level (*interger stated above*) random-creep type unit for neutral hostile at (wherever your creep spawn is)
questions? comments? anyone think it is lame? Biggest problem is that you gotta make a lotttt of creeps to keep the spawns interesting. Custom Hero Arena has about 700 creeps. Though a variety isnt required, it is always nice to have it.