• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Help me with AoS Creep trigger

Status
Not open for further replies.
Level 5
Joined
Jul 16, 2009
Messages
80
I'm having trouble triggering my creeps to push correctly. I'm not sure if it's a memory leak or something.

Problem details:
- I made several regions across the map.
- I created a trigger that spawns creep periodically.
- I set center of the first region = temp_point
- Spawned creeps are issued an order to attack-move to the temp_point.
- Then I created a second trigger to order units entering region_1 to attack-move to center of region_2.
- Several triggers are made to issue similar orders respectively when creeps entered region_3, region_4, etc.
- The problem lies in, when the creeps reached their final destination.
- Upon reaching the center of region_final, the creeps will attack-move back to their original spawning point.

**To put this in DotA perspective, it's like the creeps move back to its own base after destroying the enemy's World Tree/Frozen Throne.**


I noticed this problem when I was testing one of my past projects. I'll attach it here for reference for those who are willing to help me, but it's a rather big file.
 

Attachments

Did you try Event - enters the final destination > action > if/then/else

- if - owner of entering unit is equals to team one
- then do nothing? (if you want them just to stay there?)
and then
- if - owner of entering unit is equals to team two
- then - do what you will do

Use conditions...
 
Yeah I did. I specified the owner of entering unit and unit type as well.

Was it perhaps because I used location within a region, instead of location of a dummy unit?

I would be greatly appreciate anyone who would let me see the triggers for a flawless AoS creep path.
 
I did something like that last year, I used regions, and when they just get to the final destination, they just attack what ever they see, then go back afterwards to the final destination, they don't go back to their own base, or where they spawn.
 
Last edited:
Status
Not open for further replies.
Back
Top