• 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.

AI Movement Problem

Status
Not open for further replies.
Level 3
Joined
Oct 3, 2008
Messages
41
Hello eveyone, I have been creating AI for my game using triggers, but the problem is, when the computer player is told to attack-move or move to a region, it does so, but just moves, then stops, then moves again, then stops, than moves again and so on. this is a problem because I need the enemy to rush at the user really quickly, so they can swarm the user. does anyone have a suggestion in order to fix this or a reason for this?
 
Level 11
Joined
Oct 13, 2008
Messages
560
I use this in my map:

R1 = Region hith have the curing unit
R2 = The enemy region
Illidan = the AI unit

come back to base

  • Events
  • Time - Every 1.00 seconds of the game
  • Conditions
  • (Life of Illidan<gen>) Lessthan 500
  • Actions
  • Unit - Order Illidan <gen> to Move to center of R1<gen>

Atacking:

  • Events
  • Time - Every 5 seconds of the game
  • Conditions
  • (Life Illidan <gen> Greater then 500
  • Actions
  • Unit - Order Illidan<ge> to Attack Move To (Random point in R2 <gen>
You can make this?

to you make one unit attack move, patroll, or move, the tile of the action is:

unit - Issue Order Targeting A Point
 
Level 3
Joined
Oct 3, 2008
Messages
41
I dont think it's a lag because my computer runs fine when playing the map.
Im using a trigger where units are ordered to move to a place when they spawn. I dont have a clue why it would happen.
 
Level 5
Joined
Aug 24, 2008
Messages
199
This has nothing to do with lag if too many units are ordered to move at the same time the will walk and stop and walk and stop again. Their is a limit on how many units can be ordered at once but i don't know how much it exactly is.
 
Level 3
Joined
Oct 3, 2008
Messages
41
This has nothing to do with lag if too many units are ordered to move at the same time the will walk and stop and walk and stop again. Their is a limit on how many units can be ordered at once but i don't know how much it exactly is.

can someone please tell me how many units can be order at on time? it will help a lot.
 
Status
Not open for further replies.
Top