Link Spell in Warlock

Status
Not open for further replies.
Level 8
Joined
Mar 26, 2009
Messages
301
I want to know how that spell works, everything about it actually. But most important:
- How does target unit cast spells and turn around during he is being dragged?
- How does link projectile (rope) moves with caster after it is cast?
(Or think of hook in Pudge Wars map)
I have some answers in my mind and eager to test them but it may act laggy and i don't want to waste my time at all.
 
- How does target unit cast spells and turn around during he is being dragged?

Use SetUnitX() and SetUnitY() to move the unit, it will not interrupt the

- How does link projectile (rope) moves with caster after it is cast?

I assume the "rope" is a lightning. You can periodically (in 0,03 s intervals for example) move the ends of the lightning to position of caster, position of target.
 
Last edited:
When you cast the spell, a small dummy ball (lightning) comes out, attached with a lightning effect between it and the caster, when the dummy unit contacts with an enemy unit (in this case a enemy Warlock) the warlock is moved to the caster, until the range between them becomes less than 100 or 125.

How Maker mentioned above, you can use (SetUnitX) and (SetUnitY) to prevent the interruption of any actions while it is being dragged.
 
Status
Not open for further replies.
Back
Top