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

[General] Trigger trouble

Status
Not open for further replies.
Level 2
Joined
Jun 11, 2011
Messages
22
I am experiencing difficulty making mobs spawn....... You see I am making an RPG and i just found out..... How can i make the field monsters re spawn without making them mass every minute..... please tell me how because i can not move on without this information. So answer ASAP because my project is on wait until someone tells me how.:aw:
 
So you just want X monster to respawn after a period of time? No creep camps or anything? Just very simple respawning?

When a monster dies, start a timer. When that timer expires, respawn the monster.

To do this as efficiently as possible, you'll likely want a set of timer queues for constant respawn times.

To do this.. just start the timer and add your respawn to a queue. Whenever a timer expires, take from the front of that queue and that is your timer. You want 1 queue for every unique timeout =).
 
Last edited:
Level 2
Joined
Jun 11, 2011
Messages
22
Well.... I went to that thread and in the comments people seem to be saying it does not work and in the comments "PurplePoot" says to use hers.... which one do i use? PS: wow that was a quick reply o.o
 
If you use absolutely 0 unit indexing, it will work, but you will bar your map from using unit indexers in the future, which practically all resources on the entire site rely on.

If you do use unit indexing, it will not work.

Just listen to me, the guy that knows what he's talking about.


It was approved a long time ago: 04-13-2008, 04:05 PM

If the same tutorial were submitted today, it would not be approved.


Use it at your own risk.


The approach I outlined in my first reply is the best solution.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Well as i read in Nes first post..

But as i understand you must create timer for every monster... When a specific monster dies start the timer.. After the timer expires it will respawn the creeep...

I want to ask you also if you want a RESPAWN CREEP SYSTEM like in DoTA...

If the region has all neutral creep dies it will respawn the neutral creeps.. in this way it will not create creeps every second but only if all units in the region are dead.. preventing massive amount of units..

This respawn system is easy but if you want a bit more complicated try Nestharus said..
 
Status
Not open for further replies.
Top