Region moving question:

Technomancer

New Member
Reaction score
14
Question:
Does this move the entire region when I move the rect?

JASS:
        set myReg = CreateRegion()
        call RegionAddRect(myReg, myRect)
        call MoveRectTo(myRect, newplacex, newplacey)


If not, is there any way to move a region so I can detect things that go into it? I'm trying to make my region follow my unit, and I don't want to continually destroy and recreate it for lag purposes.
 

Sevion

The DIY Ninja
Reaction score
413
I remember doing this sort of thing in Starcraft. Ah the good old days. :D

But as Acehart says, use "Unit - A unit comes within X.XX of Unit"

Are you making like a maze? (Used to be called a bound in olden days with Starcraft >_> Twisted Bound, Bubble bound etc)
 

Technomancer

New Member
Reaction score
14
Was having trouble figuring out a good way to make it work with that function but I think I got it now.
 
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