Hello I'm new to these boards. I have been reading Daelin's Tutorial and am current;y trying to make my own spell.
The idea behind it is simple: A Non-Targetable AOE which knocks back everything in the area. I Can already move them a set distance instantly, but I would like to make it look more Realistic (so I can see them being knocked back instead of arbitrarily appearing away from the caster)
This is my Trigger thus far:
The idea behind it is simple: A Non-Targetable AOE which knocks back everything in the area. I Can already move them a set distance instantly, but I would like to make it look more Realistic (so I can see them being knocked back instead of arbitrarily appearing away from the caster)
This is my Trigger thus far:
Code:
Bloodwind
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bloodwind I
Actions
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Casting unit)) matching (((Owner of (Matching unit)) controller) Equal to Computer)) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 512.00 towards (Angle from (Position of (Casting unit)) to (Position of (Picked unit))) degrees)