[Solved] A Problem with "Unit enters region = spawn units"

Status
Not open for further replies.
Level 3
Joined
Jan 29, 2017
Messages
29
Hello guys, I'm really new about triggering and i need some help here, I want to make a simple trigger which like the title says, if a unit enters a region, a creep or creeps will spawns, but the problem is, when my unit enter the region, it spawns beyond my expectation, whole shape of the region was filled with creeps, i don't know what is wrong with it, maybe u guys can show me what's wrong with my trigger. The region.png The Trigger.png The Disaster.png The region.png The Trigger.png The Disaster.png
The region.png
The Trigger.png
The Disaster.png
 
Level 17
Joined
Mar 21, 2011
Messages
1,611
your trigger fires each time a troll spawns, because a unit enters the region :D
its basically an infinite loop if the trolls wouldnt have collision and the region is filled at some point.
make an if statement like:
triggering unit is a hero
or
triggering unit not equal to Troll
 
Level 3
Joined
Jan 29, 2017
Messages
29
Well, thats why it spawns an army instead of 1, so the trolls themself fires the trigger?
oh god, that's embarrasing haha. So I have to changed the "unit enters region" part?
 
Status
Not open for further replies.
Top