- Joined
- Jul 17, 2012
- Messages
- 26
I've made some progress, but I need to figure out how to determine the region for (Target Position for (Triggering Order), so I can make a global variable (integer). If I can do this I can compare My following Global Variables:
Dice1 = Clicked Position - Position of Unit
So, if I can determine the region of the clicked point, then I can do an if/then trigger to set yet another Global Variable as an integer.
I made the position of unit by doing:
If (Any Unit) enters (Region 1), then set Custom Value 1 of (Triggering Unit) = 1
and later (when I needed it)
If Custom Value 1 of (Triggering Unit) = 1, then set "Custom Value of Moving Unit" = 1
"Custom Value of Moving Unit" being a global variable/integer
So, overall I need to turn the click-to-move position into a number based on the region that has been clicked.
Dice1 = Clicked Position - Position of Unit
So, if I can determine the region of the clicked point, then I can do an if/then trigger to set yet another Global Variable as an integer.
I made the position of unit by doing:
If (Any Unit) enters (Region 1), then set Custom Value 1 of (Triggering Unit) = 1
and later (when I needed it)
If Custom Value 1 of (Triggering Unit) = 1, then set "Custom Value of Moving Unit" = 1
"Custom Value of Moving Unit" being a global variable/integer
So, overall I need to turn the click-to-move position into a number based on the region that has been clicked.