• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Can you create rects?

Status
Not open for further replies.
You can make rects, but it is only available through JASS:
JASS:
local rect r = Rect(0, 0, 100, 100)

The parameters:
native Rect takes real minx, real miny, real maxx, real maxy returns rect

There is also such thing as "regions", but those are different from the GUI region. GUI region = rect, JASS region = something else (it can contain cells, but it doesn't have to be a square. It is often a group of rects).
 
Status
Not open for further replies.
Top