| 02-07-2005, 04:13 PM | #1 |
Im a bit boredsome of the object editor and its limit to good looking spells, and the only way to make them better is to use triggers, and even better jass. But im avoiding jass because i quite simply suck at it. I made this spell called Shock Wave, Ahh listen :)....its bascially War stomp, but a trigger create dummy untis which cast a modfied shockwave in a 360 degrees circle every 45 degrees but it doesnt work. Heres my trigger: Code:
Voodoo
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Voodoo Energys
Actions
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 45.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 90.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 135.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 180.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 225.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 270.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 315.00 degrees)
Unit - Create 1 dummy unit - v e for (Owner of (Casting unit)) at (Position of (Casting unit)) facing 0.00 degrees
Wait 0.20 seconds
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Casting unit)) offset by 100.00 towards 360.00 degrees)
Wait 1.00 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type dummy unit - v e) and do (Unit - Remove (Picked unit) from the game)
|
| 02-07-2005, 04:59 PM | #2 |
Does the dummy unit has carrion swarm or a custom ability based of it? There is also some attribute in the objet editor for the unit. I don't know the exact name but it tells how long the unit needs to aim another target. |
| 02-07-2005, 05:25 PM | #3 | |
Quote:
oh sorry, i forgot to mention, you do see the spell being cast...trouble is it only casts in one direction |
| 02-07-2005, 06:02 PM | #4 | |
Quote:
You don't give the units enough time, the one casting is probably the last unit, since it has a full second delay. Make your dummy unit with a unit that has no attack delay/casting delay and lower the spell's casting time to zero. I believe the flying sheep is one of the few units without an attack/casting delay. |
