• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Don't understand this one (unit movement trigger)

Status
Not open for further replies.

adamjosiah

A

adamjosiah

Unit - Create 2 Bandit for Neutral Hostile at (Center of Region 012 <gen>) facing Default building facing degrees

Unit Group - Order (Last created unit group) to Move To (Center of Region 013 <gen>)

Wait 10.00 seconds

Trigger - Turn off (This trigger)

The above are actions that are placed just below actions that run perfectly. The 2 bandits do appear, but for some reason they will not move to Region 013 no matter what I do. Any ideas why? I don't get it.
 
Last created unit group is tricksy. You should crete them separately (since its only 2 units, otherwise use a loop)
  • Unit - Create 1 Bandit for Neutral Hostile at (Center of Region 012 <gen>) facing Default building facing degrees
  • Unit - Order (Last created unit) to Move To (Center of Region 013 <gen>)
  • Unit - Create 1 Bandit for Neutral Hostile at (Center of Region 012 <gen>) facing Default building facing degrees
  • Unit - Order (Last created unit) to Move To (Center of Region 013 <gen>)
That should work...
 
Yes I agree Eccho, that should work. But when I tried it, it doesn't. I can't help but think there's a conflict there somewhere. But because it would take up a lot of space to post all of my triggers here, can anyone suggest any conflicts that might cause it not to work?
 
Well do they move at all, or do they move and then go back?

I have some suggestions.
>Try changing the player to Player 1 or something. Neutral Hostile are often also tricky in that way that they are not always controllable in the way you want. I mean they are creeps, supposingly to only respond on attacks.
>If this not works, still try Player 1 after the creation of each unit use:
  • AI - Ignore (Last created unit)'s guard position
>If this wont work either, maybe your region is blocked somehow... It must be in playable map arena, and well like I said, not blocked

If it's not working I dont possibly understand what it could be.
 
Ok, I tried putting a simple...

Unit - Create 1 Bandit for Neutral Hostile at (Center of Region 012 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Move To (Center of Region 013 <gen>)

The newly created bandit seems to run toward region 013, however he makes it half way, turns around and runs back. If I create the Bandit for player 1, he does run all the way to Region 013. Also, I found if I create the bandits as neutral hostile and change their ownership to player 1 retaining their color, nothing will happen. It would not work in my map to have a colored bandit running into battle. Originally I tried to order the bandit to attack the hero, but that didn't work either.
 
Unfortunately the AI bit didn't work... but thank you to the both of you for your help, I ended up just changing it to a brown colored player, being as their bandits it looks alright. I'm guessing when they designed the creep's AI they didn't polish it up like they did for the player AI, since they're only meant to be creeps.

A good lesson to anyone who reads this, if your thinking of doing a lot of triggers with creeps, make sure you give them to a player first lol. You'll save yourself a headache.
 
What I'm working on is a campaign not a map for online multiplayer, I would consider upgrading your computer if you can't run a campaign smoothly. :-P
 
Status
Not open for further replies.
Back
Top