Ok I started to try the gui unit indexer by bribe. Problem is I can't seem to get things to work apparently...
Trying to store each units destination, I stop them manually so they stop moving and have a periodic timer I am trying to see if it is working to make them continue moving to the destination I stored for them.
Problem is, they don't move and I don't know why or what I am doing wrong, swear I put it in just like I seen demonstrated... They run when spawned, just the periodic never makes them move again.
Anyone have any idea why its not working? xD
Trying to store each units destination, I stop them manually so they stop moving and have a periodic timer I am trying to see if it is working to make them continue moving to the destination I stored for them.
Problem is, they don't move and I don't know why or what I am doing wrong, swear I put it in just like I seen demonstrated... They run when spawned, just the periodic never makes them move again.
Anyone have any idea why its not working? xD
-
Spawn Unit
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Actions
-
Set VariableSet Temp_Loc00 = (Center of RedLaneSpawn <gen>)
-
Set VariableSet Temp_Loc01 = (Center of RedLaneEnd <gen>)
-
Unit - Create 1 Runner Template for Player 24 (Peanut) at Temp_Loc00 facing Temp_Loc01
-
AI - Ignore (Last created unit)'s guard position
-
Set VariableSet Runners_Destination[(Custom value of (Last created unit))] = Temp_Loc01
-
Unit Group - Add (Last created unit) to Runners_UnitGroup
-
Unit - Order (Last created unit) to Move To Runners_Destination[(Custom value of (Last created unit))]
-
Custom script: call RemoveLocation (udg_Temp_Loc00)
-
Custom script: call RemoveLocation (udg_Temp_Loc01)
-
-
-
Periodic Move Order
-
Events
-
Time - Every 5.00 seconds of game time
-
-
Conditions
-
Actions
-
Game - Display to (All players) the text: Tick
-
Unit Group - Pick every unit in Runners_UnitGroup and do (Actions)
-
Loop - Actions
-
Game - Display to (All players) the text: (String((Custom value of (Picked unit))))
-
Unit - Order (Picked unit) to Move To Runners_Destination[(Custom value of (Picked unit))]
-
-
-
-