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))
-
Events
-
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)))
-
Events