- Joined
- Sep 11, 2006
- Messages
- 172
Hello Hive,
So, I'm using a version of Newgen World Editor that appears to have a lot options added into the GUI to help manage JASS regions. Which is certainly interesting to me.
Problem is though, that a simple check if unit in region (ie GUI Rect) condition will not work.
Here's an example that won't work.
A major trigger block in the GUI relies on this type of function working for my map.
What is Newgen doing differently with the rects and regions?
So, I'm using a version of Newgen World Editor that appears to have a lot options added into the GUI to help manage JASS regions. Which is certainly interesting to me.
Problem is though, that a simple check if unit in region (ie GUI Rect) condition will not work.
Here's an example that won't work.
-
Example Trigger
-

Events
-


Unit - A unit enters Gate Rect <gen>
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Gate Rect <gen> contains (Triggering unit)) Equal to True
-
-



Then - Actions
-




Game - Display to (All players) the text: Hi! :) ------------...
-
-



Else - Actions
-
-
-
A major trigger block in the GUI relies on this type of function working for my map.
What is Newgen doing differently with the rects and regions?



