- Joined
- Jul 24, 2008
- Messages
- 294
Hello there everyone, I'm looking for some help regarding a trigger. What i'm trying to do is to keep units moving, when there not moving.. Another way to describe this is..
When a unit stops moving, wait several secconds then order him to move to random point in playable area.
Below is what i was working on but i can't get it to work saddly.
When a unit stops moving, wait several secconds then order him to move to random point in playable area.
Below is what i was working on but i can't get it to work saddly.
-
Keep Units Moving
- Events
-
Conditions
- (Current order of (Triggering unit)) Equal to (Order(stop))
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Ranger - |cffffcc00Level 1|r Level 1
- (Unit-type of (Triggering unit)) Equal to Ranger - |cffffcc00Level 2|r Level 2
- (Unit-type of (Triggering unit)) Equal to Ranger - |cffffcc00Level 3|r Level 3
- (Unit-type of (Triggering unit)) Equal to Warrior - |cffffcc00Level 1|r Level 1
- (Unit-type of (Triggering unit)) Equal to Warrior - |cffffcc00Level 2|r Level 2
- (Unit-type of (Triggering unit)) Equal to Warrior - |cffffcc00Level 3|r Level 3
- (Unit-type of (Triggering unit)) Equal to Knight - |cffffcc00Level 1|r Level 1
- (Unit-type of (Triggering unit)) Equal to Knight - |cffffcc00Level 2|r Level 2
- (Unit-type of (Triggering unit)) Equal to Knight - |cffffcc00Level 3|r Level 3
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Order (Triggering unit) to Attack-Move To (Random point in (Playable map area))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)