O
Omegas
Guest
I've been looking through any post with the Word "Region" in the title for someone with a similar problem to no avail.
I use Events in a script as follows
Text Spider Door
Events
A Unit Enters Regoin 29 <gen>
Conditions
(Demon Gate (Horizontal) 0391 <gen> is alive) Equal to True
Actions
Game - Display to All Players the text........
Well simple enough as this script is, it doesn't work... At least so I thought. Well apparently this script only works if a unit enters the region from the SOUTH. :nuts: ??? I have other Unit Enters Region Scripts and I have confirmed the same thing. Sometimes it may work when a Unit Enters from the South or from the East but some of these regions namely the one above is really only accessible from the north (Under the conditions!). So is there anyway to fix this?
At one point this trigger actually worked from the north but it stopped and I have no idea why. Either I moved the region edited it or did something by mistake that reset some form of "entering direction parameter" that seems to be unchangeable or determined only when the region is first laid down and is then reset after any changes made to the region or if you move the regions location.
I know about creating an invisible unit and setting up scripts for "If unit is in range" but I'd rather not have to make a bunch of individual invisible units all over that might cause pathing problems. Is there a specific way you need to lay down the region? Or any triggers or better combination of triggers that could get the job done? Just not sure why this weird restriction would be the case. Is there a GLOBAL or MAP setting or script to configure Units Entering Regions From Specific Directions?
Any Help in the matter will be greatly appreciated. This problem affects a bunch of scripts in my hero / gauntlet map that I'm creating and has crippled this project for 6 months.
Oh one more thing.... Regions that are basically Very Tiny don't seem to have this problem but Making a bunch of really tiny regions is out of the question for the situations I'm trying to resolve.
I use Events in a script as follows
Text Spider Door
Events
A Unit Enters Regoin 29 <gen>
Conditions
(Demon Gate (Horizontal) 0391 <gen> is alive) Equal to True
Actions
Game - Display to All Players the text........
Well simple enough as this script is, it doesn't work... At least so I thought. Well apparently this script only works if a unit enters the region from the SOUTH. :nuts: ??? I have other Unit Enters Region Scripts and I have confirmed the same thing. Sometimes it may work when a Unit Enters from the South or from the East but some of these regions namely the one above is really only accessible from the north (Under the conditions!). So is there anyway to fix this?
At one point this trigger actually worked from the north but it stopped and I have no idea why. Either I moved the region edited it or did something by mistake that reset some form of "entering direction parameter" that seems to be unchangeable or determined only when the region is first laid down and is then reset after any changes made to the region or if you move the regions location.
I know about creating an invisible unit and setting up scripts for "If unit is in range" but I'd rather not have to make a bunch of individual invisible units all over that might cause pathing problems. Is there a specific way you need to lay down the region? Or any triggers or better combination of triggers that could get the job done? Just not sure why this weird restriction would be the case. Is there a GLOBAL or MAP setting or script to configure Units Entering Regions From Specific Directions?
Any Help in the matter will be greatly appreciated. This problem affects a bunch of scripts in my hero / gauntlet map that I'm creating and has crippled this project for 6 months.
Oh one more thing.... Regions that are basically Very Tiny don't seem to have this problem but Making a bunch of really tiny regions is out of the question for the situations I'm trying to resolve.