- Joined
- Jul 20, 2011
- Messages
- 77
i am working on a spell that silences enemy hero then teleports him to that hero. for some reason it keeps teleporting the hero to center of map instead of behind him.
any help would be appreciated
-
Silent Kill
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Silent Strike (silence. Shadow Ninja)
-
Actions
- Wait 0.75 seconds
- Set SilentKillTempPoint1 = (Position of (Target unit of ability being cast))
- Unit - Move (Casting unit) instantly to (SilentKillTempPoint1 offset by 75.00 towards (Angle from (Position of (Casting unit)) to SilentKillTempPoint1) degrees), facing SilentKillTempPoint1
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (75.00 x (Real((Level of Silent Strike (silence. Shadow Ninja) for (Casting unit))))) damage of attack type Spells and damage type Normal
- Custom script: call RemoveLocation( udg_SilentKillTempPoint1 )
-
Events
any help would be appreciated
Last edited: