- Joined
- Apr 7, 2008
- Messages
- 176
I have been trying to make 4 Units move in a Golden Spiral inward to a center point. I know they will never reach the point, but when they get close I will trigger a new action. Unfortuately I cant get them to move in a spiral.
Here's my trigger right now.
On the positive side I did make this.
This will make the units move in a completely random manner, each time it is cast they follow a different path.
Here's my trigger right now.
-
Beam Move
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Cannon Beam 1) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 10.00 towards (Sign(76.00)) degrees), facing Target_Point[Unit_ID]
- Animation - Play (Picked unit)'s stand animation
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Cannon Beam 1) and do (Actions)
-
Events
On the positive side I did make this.
-
Beam Move
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Cannon Beam 1) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 10.00 towards ((Facing of (Picked unit)) x (Distance between (Position of (Picked unit)) and Target_Point[Unit_ID])) degrees), facing (Position of (Triggering unit))
- Animation - Play (Picked unit)'s stand animation
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Cannon Beam 1) and do (Actions)
-
Events
This will make the units move in a completely random manner, each time it is cast they follow a different path.