HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Vampire spell trigger

08-08-2004, 10:46 PM#1
SilentOne89
im kinda new to mapmaking but i have a question out how a certain spell trigger that i've been trying to make. i want to make a vampire and i have got a spell to drain helath from a target. but i want to have the target stuned so they cannot run out of the extremly small range. i have got the the trigger set to condtions that work but need and action that will stun the target. plz help soon.
08-09-2004, 12:52 AM#2
thedevil
Event:a unit begin casting an ability
Condition:ability being cast equal to [ability name]
Action:
-Pause target unit of ability being cast
-Wait:[time]
-Unpause target unit of ability being cast
08-09-2004, 01:05 AM#3
wwsage
just pause the targeted unit then unpause when the spell is done
08-09-2004, 01:23 AM#4
SilentOne89
thxs you the devil and wwsage for helping i was thinking i might have to make target sleep and the repeat making it sleep untill the spell was over
08-09-2004, 04:06 AM#5
Arksword(sv)
That's how I'd do it thedevil, but I'd set a variable for the target unit of ability being cast because, if the spell ends, and the unit is still paused when the wait is done, the trigger won't know who the target unit of ability being cast is, because it's over!
08-13-2004, 06:57 AM#6
thedevil
Ohh i forgot that cause with ah short spell like that i usually use triggering unit and target unit of ability being cast and not use variable that why sometime it go bad and uncontrolnable :( afterall thanks