Copy Impale or shock wave as a dummy spell, make it cost 0 mana, have 0 cooldown time, etc... that's your laser.
Then make a dummy unit, abilities = locust, invulnerable, dummy ability; model = none; shadow = none; HP = 10; HP regen = -1 (hold shift as you click the field to enter negatives)
Make another spell to give your unit based on Channel (type ctrl+f to find it). set the effects to whatever, disable other abilities = false, Options = Visible, Target Type = instant, Base Order ID = anything you're not using somewhere else, other things to whatever...
Add these variables in the trigger editor...
TempLoc = Point variable
AnotherTempLoc = another Point variable
Now, add this for a trigger...
-
Awesome Trigger
-
Events
-
A unit begins casting an ability
-
Conditions
-
(Ability being cast) Equal to Channel Ability
-
Actions
-
Set TempLoc = (Position of (Triggering unit))
-
Set AnotherTempLoc = (TempLoc offset by 100.00 towards (Facing of (Triggering unit)) degrees)
-
Unit - Create 1 Footman for (Owner of (Triggering unit)) at TempLoc facing AnotherTempLoc
-
Unit - Order (Last created unit) to Undead Crypt Lord - Impale AnotherTempLoc
-
Custom script: call RemoveLocation(udg_TempLoc)
-
Custom script: call RemoveLocation(udg_AnotherTempLoc)
That should work, hope this helps!