Firstly, I apologize if the thread title is confusing or inadequate. I'll explain:
So I opened up a map template I downloaded from the Hive (It's simply an environment of a sea side village - no custom units, no triggers) and began to add some of my own triggers to it, just for fun and practice. It wasn't ever intended to actually be an actual project, rather just something to blow off some steam from the difficulties I was having with the other map I was working on.
The problem came in with one - or possibly more - of the triggers I had set up. Everything was fairly simple: There were two Orcish Barracks and a Bestiary up in the Northeast corner of the map, and three triggers that were designed like this:
The problem? The units spawn and my Movement trigger sends them on their way nice and clean, but after the second wave the units stop moving entirely. They spawn and sit there, and every following wave they continue to sit there.
At first I thought it might have been from having a trigger for the Grunts every 35 seconds and Kodos every 70, so I set both to 35. No change. I then thought maybe having numerous triggers was causing it, so I made a new one and put all the spawning actions into one single trigger. No change.
I thought maybe the trigger got corrupted somehow, so I deleted them all and made a new one, and set it to every 15 seconds to see if there was any change faster. To my pleasure, the third wave continued on its way as it should have. I was about to stop playing and go back to working on the map when I saw the 7th wave had just stopped moving like the 3rd had before. The units began piling up and not moving once again.
The movement trigger itself:
*The Dummy unit belongs to Neutral Passive (If it matters)
I then have an additional movement command afterwards:
To summarize, the triggers work *for a while* and the units spawn and move out as intended. After a few waves, they simply stop. I can't figure out why - no trigger is directing them to the wrong location(s), I've disabled everything but the two triggers that spawn and move the first group, so nothing's conflicting with it... It's not pathing issues, and I've checked to make sure the regions are in the right places and that they're not being moved around somehow after the game starts.
I just can't figure it out. I've never had a problem like this, so I just simply don't know what to do.
If anyone actually wants to take a look at the map, I'll attach it.
http://www.hiveworkshop.com/forums/maps-564/seaside-village-template-241761/ (the original)
So I opened up a map template I downloaded from the Hive (It's simply an environment of a sea side village - no custom units, no triggers) and began to add some of my own triggers to it, just for fun and practice. It wasn't ever intended to actually be an actual project, rather just something to blow off some steam from the difficulties I was having with the other map I was working on.
The problem came in with one - or possibly more - of the triggers I had set up. Everything was fairly simple: There were two Orcish Barracks and a Bestiary up in the Northeast corner of the map, and three triggers that were designed like this:
-
Grunts LowerLeft
-
Events
- Time - Every 35.00 seconds of game time
-
Conditions
- (Barracks 0112 <gen> is alive) Equal to True
-
Actions
- Unit - Create 1 Troll Headhunter for Player 11 (Dark Green) at (Center of OrcSpawn1 <gen>) facing Default building facing degrees
- Unit - Create 2 Grunt for Player 11 (Dark Green) at (Center of OrcSpawn1 <gen>) facing Default building facing degrees
-
Events
The problem? The units spawn and my Movement trigger sends them on their way nice and clean, but after the second wave the units stop moving entirely. They spawn and sit there, and every following wave they continue to sit there.
At first I thought it might have been from having a trigger for the Grunts every 35 seconds and Kodos every 70, so I set both to 35. No change. I then thought maybe having numerous triggers was causing it, so I made a new one and put all the spawning actions into one single trigger. No change.
I thought maybe the trigger got corrupted somehow, so I deleted them all and made a new one, and set it to every 15 seconds to see if there was any change faster. To my pleasure, the third wave continued on its way as it should have. I was about to stop playing and go back to working on the map when I saw the 7th wave had just stopped moving like the 3rd had before. The units began piling up and not moving once again.
The movement trigger itself:
-
Orc MainCamp
-
Events
- Unit - A unit enters Orc Camp <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
-
Actions
- Unit - Order (Triggering unit) to Attack-Move To (Position of Dummy Unit (Unit Director) 0129 <gen>)
-
Events
*The Dummy unit belongs to Neutral Passive (If it matters)
I then have an additional movement command afterwards:
-
Orc SW
-
Events
- Unit - A unit comes within 512.00 of Dummy Unit (Unit Director) 0129 <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
-
Actions
- Unit - Order (Triggering unit) to Attack-Move To (Position of Dummy Unit (Unit Director) 0130 <gen>)
-
Events
To summarize, the triggers work *for a while* and the units spawn and move out as intended. After a few waves, they simply stop. I can't figure out why - no trigger is directing them to the wrong location(s), I've disabled everything but the two triggers that spawn and move the first group, so nothing's conflicting with it... It's not pathing issues, and I've checked to make sure the regions are in the right places and that they're not being moved around somehow after the game starts.
I just can't figure it out. I've never had a problem like this, so I just simply don't know what to do.
If anyone actually wants to take a look at the map, I'll attach it.
http://www.hiveworkshop.com/forums/maps-564/seaside-village-template-241761/ (the original)