HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Instant Movement and Spells

03-04-2006, 05:21 AM#1
st33m
Is there a way to get around a unit moving instantly from triggers, and breaking whatever its casting?

Problem is, when I move a unit instantly at the effect of a spell, it cancels the spell and moves the unit, causing the effect, but no cooldown on the move.

I searched a bit for an answer, but didnt find what I'm looking for.

Some people suggested I should use Unit - Begins the effect of a spell, but that didnt work.

Ideas?
03-04-2006, 05:46 AM#2
Ant
http://www.wc3campaigns.com/showthread.php?t=78568

is very useful.

You can either use waits (only if your casting time is 0, so any small minute wait is enough).

Or followin the tutorial, use the event "A Unit Starts the Effect of an Ability". You might have to use "triggering unit" instead of "casting unit".
03-04-2006, 10:52 AM#3
Jiminiyainoda
i would just use a pause unit.

Trigger:
Actions:
Unit - Pause (Your Unit)
Unit - Move (Your Unit) instantly to (Your Location)
Unit - Unpause (Your Unit)

I havent tested it but it should work
03-04-2006, 04:32 PM#4
st33m
Quote:
Originally Posted by Jiminiyainoda
i would just use a pause unit.

Trigger:
Actions:
Unit - Pause (Your Unit)
Unit - Move (Your Unit) instantly to (Your Location)
Unit - Unpause (Your Unit)

I havent tested it but it should work

Actually, this worked perfectly.

Thanks.