I have a skeleton and I want him to patrol in 4 regions all the time. Here are the triggers I use (These are just 2, the others are similar):
They work absolutely fine when the owner of the skeleton is Player One, but when I change it to Neutral Passive, not only doesn't he wait at the second point, but he also follows a different path to point 1, doesn't turn at either, and stays at point 1 forever when he arrives. Any ideas?
-
Skeleton Movement 1
-
Events
-
Unit - A unit enters Tower1 <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Skeleton Lord
-
-
Actions
-
Set SkeletonGoing = True
-
Set SkeletonPoint = (Center of Tower2 <gen>)
-
Unit - Make (Triggering unit) face 200.00 over 1.00 seconds
-
Wait 2.00 seconds
-
Unit - Order (Triggering unit) to Move To SkeletonPoint
-
Custom script: call RemoveLocation(udg_SkeletonPoint)
-
-
-
Skeleton Movement 2
-
Events
-
Unit - A unit enters Tower2 <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Skeleton Lord
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SkeletonGoing Equal to True
-
-
Then - Actions
-
Set SkeletonPoint = (Center of Tower3 <gen>)
-
-
Else - Actions
-
Set SkeletonPoint = (Center of Tower1 <gen>)
-
-
-
Wait 2.00 seconds
-
Unit - Order (Triggering unit) to Move To SkeletonPoint
-
Custom script: call RemoveLocation(udg_SkeletonPoint)
-
-