- Joined
- Aug 9, 2005
- Messages
- 97
I have a set of Villagers that are suppose to wander in a specific region. To wander, every 10 to 50 seconds a timer ticks and issues an order for them to move to a random point in that region and play the "Stand Work" animation. The animation plays if no order is issued beforehand, But I simply can't get them to play it after they move.
-
CheckWander
-

Events
-


Unit - A unit Is issued an order targeting a point
-
-

Conditions
-


((Ordered unit) is in Farmhands.) Equal to True
-


(Distance between (Position of (Ordered unit)) and (Target point of issued order)) Equal to 0.00
-
-

Actions
-


Animation - Play (Ordered unit)'s stand work animation
-
-
-
Wander
-

Events
-


Time - Every (Random real number between 10.00 and 50.00) seconds of game time
-
-

Conditions
-

Actions
-


Unit - Order Villager <gen> to Move To (Random point in WanderRegion <gen>)
-
-



