T
thomasareed
Guest
I've got a neutral character that I want to go unlock a gate. Seems easy enough, so I created the following actions in my trigger:
order TheUnit to move to the position of (Elven Gate)
wait until ((gate region contains TheUnit) equal to true), checking every 1 seconds
destructible - open Elven Gate
order TheUnit to move to (center of TheUnit home region)
In this case, gate region is a region right in front of the gate. All starts off well -- the unit in question starts walking towards the gate. However, he seems to stop shorter than he ought to (probably a minor problem solvable by adjusting the gate region), turns around and walks back home, and the gate never opens. What!?!? What's going on there? How come the open gate line got skipped?
order TheUnit to move to the position of (Elven Gate)
wait until ((gate region contains TheUnit) equal to true), checking every 1 seconds
destructible - open Elven Gate
order TheUnit to move to (center of TheUnit home region)
In this case, gate region is a region right in front of the gate. All starts off well -- the unit in question starts walking towards the gate. However, he seems to stop shorter than he ought to (probably a minor problem solvable by adjusting the gate region), turns around and walks back home, and the gate never opens. What!?!? What's going on there? How come the open gate line got skipped?


