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!
It would not make much sense, since every region includes the region "entire map" which then again includes every region you could possibly make.
You are probably only talking about regions you made yourself. You need to add an enter region event for all these regions. They are global variables, but are not in an array, which makes it hard to add an event for all of them.
There is probably not an automatic way of doing so. If you have only very few regions, you can add them to an array by yourself or just create the events manually.
If you have a lot of regions, this would take too long. If that is the case you can open the map script, extract all variable names of the regions and use a text editor with search & replace functions to add all of them to an array.
Can I ask what exactly this is for?
You might have an advantaged from using an jass only feature (useable with custom script and an hash) called Region, the regions placed in world Editor are actually rects.
An Region is kind of an rectGroup and can be used as enter/leaves event.
An example
Initialisierung Preplaced Rects
Events
Map initialization
Conditions
Actions
-------- Create the region --------
Custom script: local region RectGroup = CreateRegion()
-------- Add the preplaced Rects to the region --------
Can I ask what exactly this is for?
You might have an advantaged from using an jass only feature (useable with custom script and an hash) called Region, the regions placed in world Editor are actually rects.
An Region is kind of an rectGroup and can be used as enter/leaves event.
An example
Initialisierung Preplaced Rects
Events
Map initialization
Conditions
Actions
-------- Create the region --------
Custom script: local region RectGroup = CreateRegion()
-------- Add the preplaced Rects to the region --------
Sorry but i think adding all regions to same event is easier cuz these triggers does not work with each region , in case adding they its impossible cuz they are more than 100 regions. x10
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.