• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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