Units not moving..?

Glaivesrit

New Member
Reaction score
8
Code:
Center
    Events
        Player - Player 1 (Red) types a chat message containing -center as An exact match
    Conditions
    Actions
        Unit Group - Order (Units in (Playable map area) owned by Player 1 (Red)) to Move To (Center of Troop Move Center <gen>)

This works for when there are about 15 units, but when there are any more it does not move any units except for the 15 that it was previously moving...any help/suggestions?
 

FireBladesX

Eating my wings!
Reaction score
123
Your game might just have too much lag. I notice you don't clean your leaks.

Read this if you haven't yet :thup:
 

Glaivesrit

New Member
Reaction score
8
thanks for the link. i've checked over many of my triggers, none seem to be leaking (this is the only group trigger i have, all others are abilities) but i'm logging off for the night..maybe i'll think better when it's not this late lol
 

Glaivesrit

New Member
Reaction score
8
Ok couldnt log off..had to fix it. Now that it's fixed, this trigger doesn't leak and it works..wow (first leak issue i've had where it screws up the whole trigger)

Code:
Center
    Events
    Conditions
    Actions
        Set Temp_RGroup = (Units in (Entire map) owned by Player 1 (Red))
        Unit Group - Pick every unit in Temp_RGroup and do (Actions)
            Loop - Actions
                Unit - Order (Picked unit) to Move To (Center of Troop Move Center <gen>)
        Custom script:   call DestroyGroup (udg_Temp_RGroup)

+rep, and thanks:D
 

FireBladesX

Eating my wings!
Reaction score
123
Still leaks, man. ^.^

You got point leaks.
Instead of
Code:
Unit - Order (Picked unit) to Move To (Center of Troop Move Center <gen>)
Do
Code:
Set L = Center of Troop Move Center <gen>
Unit - Order (Picked unit) to Move To L
call RemoveLocation(udg_L)

With "L" being a point variable.
 
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