G
Goodspeed
Guest
Code:
Call of Earth
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Call of Earth
Actions
Environment - Create a 3.00 second Normal ripple deformation at (Position of (Triggering unit)) with starting radius 150.00, ending radius 450.00, and depth 100.00, using 1.00 second ripples spaced 30.00 apart
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
Wait 0.01 seconds
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit))) and do (If ((Owner of (Picked unit)) Not equal to (Owner of (Triggering unit))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 30.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Picked unit))) degrees))
See what I mean? It works, it's just stupid[!]. Is there a good duration loop I'm missing? Just like the topic describes, any way to clean this up and create the same exact gradually-pushing affect? Let me know, thanks a lot anyone who can help or tries,
`Goodspeed,


