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

[Spawning System] Can someone do this?!

Status
Not open for further replies.
Level 12
Joined
Apr 26, 2008
Messages
830
I need a System:

Name: Spawning System

It spawns a number of units (you can set the number) in an set area and cannot spawn more than the set number, when a unit dies after 30 seconds a new unit is spawned, each unit spawned is a hero, when spawning the level is added too, BUT the units level has to go up from Level 1 . Example:The wished level for the unit is 36, so you start a trigger that adds 1 level each 0.01 seconds, so in 0,36 seconds , your pokemon got the level you wanted, it's important that you do it this way because I need it for other systems to work.

Tell me if it's possible to do this, thanks.:thumbs_up:

Would prefer GUI/MUI.

EDIT: The unit types can be 5 and it summons 1 of them randomly from the 5 set.
 
Level 12
Joined
Apr 26, 2008
Messages
830
Something like this: http://www.hiveworkshop.com/forums/pastebin.php?id=oh417i

Add unit types to the pool of spawning units like this:
  • Custom script: call UnitPoolAddUnitType(up, 'Hpal', 1)
where Hpal is the raw code of the unit.

Yes, this would be nice, but i need the system for more regions than just one, so the unit when it dies, needs to be in a group that determines the region the unit was spawned to and to wich region it belongs. or it could be any unit from the neutral player.
 
Status
Not open for further replies.
Top