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

Spawnning mobs?

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2011
Messages
1,058
Hi guys.. i was wondering other rpg maps have this system that if you go in that area units will spawn there and if you look at the map there are none so the only way you can see those creeps is to like go to a specific region how can i do that? sorry for my grammar
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
So you make a 1 time trigger that starts when unit enters a specific region.
When that happens, you create creeps in your desired location. Also start this trigger with "Trigger - turn off (this trigger)" action so another entering unit won't spawn new wave of enemies (unless that is intentional ofc)
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
So you make a 1 time trigger that starts when unit enters a specific region.
When that happens, you create creeps in your desired location. Also start this trigger with "Trigger - turn off (this trigger)" action so another entering unit won't spawn new wave of enemies (unless that is intentional ofc)

What do you mean by desired location?
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Hmm. If you want a group of units to spawn in a location, you need either a region or a point.
From one or the other you can create for example 6 units. Because of pathing, they will spawn one near the other.
If you want creeps to spawn in formation, you may want to create points with polar offset from the original point.

Edit: you can use loop to spawn the group.
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
Hmm. If you want a group of units to spawn in a location, you need either a region or a point.
From one or the other you can create for example 6 units. Because of pathing, they will spawn one near the other.
If you want creeps to spawn in formation, you may want to create points with polar offset from the original point.

Edit: you can use loop to spawn the group.

Hmm do you know how to make like goh?
 
Level 9
Joined
Aug 7, 2009
Messages
380
Nah, not as lag as remove and then re-create them. Every time you create a unit can cause lags and well... if there're too many units inside the map at once, AI units will become stupid (moving slowly when engaging someone) - such a thing you could see in many survival maps out there
 
Status
Not open for further replies.
Top