Help moving regoins

SaintMorose

New Member
Reaction score
26
Couldn't find an answer on this with search

Code goes:

Set TempPoint = (Position of Unit)
Region - Center Region <gen> on TempPoint
Custom script: call RemoveLocation (udg_TempPoint)



I tried using this to move a region to the position of a unit however the region does not seem to move. ie. during testing further triggers that used the region still fired off when a unit entered the old location instead of the new one.

edit: wow my spelling is bad in title

Any help greatly appreciated

-Saint
 

SaintMorose

New Member
Reaction score
26
Ive tried searching but maybe my unfamiliarity with the site may not be helping is there any pages with help on how region movement works or does anyone know anything that could help?
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
So sick of double posters.
Moving regions often doesnt work or bugs. Rather think of an alternative.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, if you read the italic text underneath the action, it says this:
"This has no effect unless the specified region is a variable."
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Wait wont selecting a region automatically make it a variable. If not why does it whow up in the field?
 

SaintMorose

New Member
Reaction score
26
To be honest I think I might just do this without regions just means I'll need to add an extra trigger to the code. Thanks though.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top