Below Ill put part of a code of what Im trying to do.. Summoning 4 dummies each facing at each direction (N,S,E,W) i want them to cast and impale type spell directly infront of them but not whats not right (probably the offset, not sure how to work offset). help is much appreciated
Code:
Ice star
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Ice Star
Actions
Set Icestarcaster = (Casting unit)
Unit - Pause Icestarcaster
Unit - Create 1 Ice Star Dummy for (Owner of Icestarcaster) at (Position of Icestarcaster) facing 90.00 degrees
Set Icestardummy[1] = (Last created unit)
Unit - Create 1 Ice Star Dummy for (Owner of Icestarcaster) at (Position of Icestarcaster) facing 0.00 degrees
Set Icestardummy[2] = (Last created unit)
Unit - Create 1 Ice Star Dummy for (Owner of Icestarcaster) at (Position of Icestarcaster) facing 180.00 degrees
Set Icestardummy[3] = (Last created unit)
Unit - Create 1 Ice Star Dummy for (Owner of Icestarcaster) at (Position of Icestarcaster) facing 270.00 degrees
Set Icestardummy[4] = (Last created unit)
Wait 0.30 seconds
Unit - Order Icestardummy[1] to Undead Crypt Lord - Impale ((Position of Icestarcaster) offset by 256.00 towards 90.00 degrees)
Unit - Order Icestardummy[2] to Undead Crypt Lord - Impale ((Position of Icestarcaster) offset by 256.00 towards 0.00 degrees)
Unit - Order Icestardummy[3] to Undead Crypt Lord - Impale ((Position of Icestarcaster) offset by 256.00 towards 180.00 degrees)
Unit - Order Icestardummy[4] to Undead Crypt Lord - Impale ((Position of Icestarcaster) offset by 256.00 towards 270.00 degrees)