- Joined
- Jul 14, 2011
- Messages
- 3,213
[REQUEST] Spawn System
Basic explanation:
I need an spawn system where specific units spawn on specific regions, wich are located at an a specific distance from hero.
Complete Explanation
Lets say that we have a wood, and we have a beach, one next to the other. If the Hero is in the woods, spiders spawn at a random point in 800 AoE from the hero position and are ordered to attack The point in the center of the Hero's position (Not the hero). If the hero is in the beach, Murlocs spawn the same way.
BUT..
If the unit is between the Wood, and the Beach (Outside the areas, right in the middle of them) then Both spawn areas would be activated, so Spiders and Murclos should spawn.
This should happen every second one of the Spawning Regions are in 800 distance from the hero's position., and by chance (10% chance of spawning from any of the SpawningRegions in range)
Spawning is turned off if number of creeps at 800 distance from hero is equal to 2.
Also, creeps that are left behind, die. This means that if a creeps is standing doing nothing for 10 seconds, it gets removed from game.
ASKING
Is it possible? How can I do that?.
I've been trying to do this for a while but haven't found the way.
Basic explanation:
I need an spawn system where specific units spawn on specific regions, wich are located at an a specific distance from hero.
Complete Explanation
Lets say that we have a wood, and we have a beach, one next to the other. If the Hero is in the woods, spiders spawn at a random point in 800 AoE from the hero position and are ordered to attack The point in the center of the Hero's position (Not the hero). If the hero is in the beach, Murlocs spawn the same way.
BUT..
If the unit is between the Wood, and the Beach (Outside the areas, right in the middle of them) then Both spawn areas would be activated, so Spiders and Murclos should spawn.
This should happen every second one of the Spawning Regions are in 800 distance from the hero's position., and by chance (10% chance of spawning from any of the SpawningRegions in range)
Spawning is turned off if number of creeps at 800 distance from hero is equal to 2.
Also, creeps that are left behind, die. This means that if a creeps is standing doing nothing for 10 seconds, it gets removed from game.
ASKING
Is it possible? How can I do that?.
I've been trying to do this for a while but haven't found the way.
Last edited: