What is a region?

Sooda

Diversity enchants
Reaction score
318
GUI regions are in JASS rects -- rectangular shape. Rects have minimum and maximum coordinates. Region in JASS contains one or more rect.

Units enter into regions not rects.
 

SFilip

Gone but not forgotten
Reaction score
634
Rects do.
Region = union of one or more rects. In theory, they can be any shape.
 

saw792

Is known to say things. That is all.
Reaction score
280
Regions are made up of individual 32x32 (if I remember correctly) 'cells', being just a small block of space. Using RegionAddCell() (once again, off the top of my head) you can add a single cell to a region, generally used in a loop with a formula. Similar functions exist for adding a rect to a region.
 
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