- Joined
- May 15, 2009
- Messages
- 192
I wanted to create a "multishot-look-alike" spell.
The spell is suppose to work like this: You cast a standard shockwave spell anywhere u want, then as you cast it, a dummy unit appears and casts two shockwaves close to the one you just fired. The shockwaves casted by the dummy are suppose to be on both sides of the original shockwave.
My problem is that the dummy won't quite cast the shockwave, not even one. The dummy spell has 0 cooldown and mana cost, range is ok. But nothing happends.
Sorry for the long trigger, but please help me out here. The dummy refuses to cast the spell.
The spell is suppose to work like this: You cast a standard shockwave spell anywhere u want, then as you cast it, a dummy unit appears and casts two shockwaves close to the one you just fired. The shockwaves casted by the dummy are suppose to be on both sides of the original shockwave.
My problem is that the dummy won't quite cast the shockwave, not even one. The dummy spell has 0 cooldown and mana cost, range is ok. But nothing happends.
- A unit starts the effect of an ability
- Ability being cast equal to MyShockwave
- Actions:
- Create 1 Dummy for Owner of Triggering Unit at Position of Triggering Unit. facing (Facing angle of triggering unit)
- Add MyShockwave(Special) to Last Created Unit
- Add a 4.00 second Genetic expiration timer to Last Created Unit
- Set Shockwave_Point[1] = Target point of ability being cast
- Set SW_Dummy = Last Created Unit.
- Order SW_Dummy to Orc Tauren Chieftain - Shockwave ((Target point of ability being cast) offset by 15.00 towards ((Facing of Triggering unit)) - 10.00 degrees)
- wait - 0.02 seconds
- Order SW_Dummy to Orc Tauren Chieftain - Shockwave ((Target point of ability being cast) offset by 15.00 towards ((Facing of Triggering unit)) + 10.00 degrees)
- Custom Script: call RemovelLocation(udg_ShockWave_TargetPoint[1])[/
Sorry for the long trigger, but please help me out here. The dummy refuses to cast the spell.
Last edited: