spawn/attack-move problem

Po0gles

New Member
Reaction score
0
Hey guys, i am having big trouble getting my spawn/attack move system done. It intends to spawn units periodically and tells them to attack a random unit from a random player in Team 1. The spawned units always seem to recalibrate their target as they just run around without being able to walk to a target straight :( . Also, the units in SpawnRight dont spawn... I hope you can help me as i really dont know what to do anymore.


Variable
Events
Map initialization
Conditions
Actions
Set Force2 = (All allies of Player 12 (Brown))
Set Force1 = (All allies of Player 1 (Red))
________________________________________________________________________________

TownTier1UnitSpawn
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set AnyPlayerForce1 = (Random player from Force1)
Unit - Create 1 Town Slave for Player 11 (Dark Green) at (Center of SpawnLeft <gen>) facing Default building facing degrees
AI - Ignore (Last created unit)'s guard position
Unit - Order (Last created unit) to Attack-Move To (Position of (Random unit from (Units owned by AnyPlayerForce1)))
Set AnyPlayerForce1 = (Random player from Force1)
Unit - Create 1 Town Slave for Player 11 (Dark Green) at (Center of SpawnRight <gen>) facing Default building facing degrees
AI - Ignore (Last created unit)'s guard position
Unit - Order (Last created unit) to Attack-Move To (Position of (Random unit from (Units owned by AnyPlayerForce1)))
 

troylowyee

Active Member
Reaction score
0
hey im not really good at this but create a variable for spawn left and right and try putting for integer A 1-2. If you need help do let me know then i'll post a screenshot or something
 

Ratata

Member
Reaction score
0
I think this could be beacause of the "Time-Every 1.00 seconds of game time",this means that every second they are going to find another target and therefore cannot focus on 1 target since their target changes every second.Perhaps you can use a diffrent trigger or change the time to ""Time-Every 20.00 seconds of game time"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top