i try something like this
but, the dummy will be created to a straight line between caster to the center of map (i make a test with changing the dummy to a normal unit that is visible), the slam is ok, but the only problem is in the dummy creation place, i hope anyone know the solution
Code:
split earth
event
a unit finish casting a spell
condition
ability being cast equal to split earth
action
unit - create 1 dummy for (owner of (casting unit)) at ((position of (casting unit)) offset by 150 towards (angle from (position of (casting unit)) to (target point of ability being cast)) degrees) facing default building facing degrees
unit - order (last created unit) to neutral - slam [COLOR="RoyalBlue"](the dumy already has slam ability)[/COLOR]
unit - add a 1.00 second generic expiration timer to (last created unit)
wait 0.02 second
action
unit - create 1 dummy for (owner of (casting unit)) at ((position of (casting unit)) offset by 250 towards (angle from (position of (casting unit)) to (target point of ability being cast)) degrees) facing default building facing degrees
unit - order (last created unit) to neutral - slam [COLOR="RoyalBlue"](the dumy already has slam ability)[/COLOR]
unit - add a 1.00 second generic expiration timer to (last created unit)
([COLOR="RoyalBlue"]and then i just CnP the above action until 550 range[/COLOR])
but, the dummy will be created to a straight line between caster to the center of map (i make a test with changing the dummy to a normal unit that is visible), the slam is ok, but the only problem is in the dummy creation place, i hope anyone know the solution