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!
All regions are created by scripts.
When you save the map info about the region converts into jass ( war3map.j )
But if you mean creating regions with loops, it's impossible.
I mean that, let's say, I build a Town Hall, and is it possible to create a new or copy a single region to that area, or it's only possible to move it ?
Rects and regions that you create in rect palette are global variables.
JASS:
globals
trigger gg_trg_Melee_Initialization = null
rect gg_rct_Rect_000 = null
endglobals
Global variables can't be created while game process.
But I think that you can create a local rect in the trigger where town hall finished construction wtih this native function:
(native Rect takes real minx, real miny, real maxx, real maxy returns rect)
Rects and regions that you create in rect palette are global variables.
JASS:
globals
trigger gg_trg_Melee_Initialization = null
rect gg_rct_Rect_000 = null
endglobals
Global variables can't be created while game process.
But I think that you can create a local rect in the trigger where town hall finished construction wtih this native function:
(native Rect takes real minx, real miny, real maxx, real maxy returns rect)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.