HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stunning a unit with triggers?

11-16-2007, 01:56 PM#1
cohadar
By using some special commands + maybe directly giving it stunned buff?

Any way to do this?
11-16-2007, 01:59 PM#2
CommanderZ
You can always cast dummy storm bolt on it. If you don't need the buff you can pause it and add manually the special effect.
11-16-2007, 02:20 PM#3
cohadar
Yeah well I do cast storm bolts with dummy but the problem is I have to move dummy to a target to prevent delay from missile flying.

If only blizzard made an instant stun ability...
11-16-2007, 02:41 PM#4
Troll-Brain
or you can do this :

pause unit
call IssueImmediateOrderById ( unit , 851973 )
unpause unit
11-16-2007, 03:17 PM#5
cohadar
Quote:
Originally Posted by Troll-Brain
or you can do this :

pause unit
call IssueImmediateOrderById ( unit , 851973 )
unpause unit

Ok but how do I set duration of the stun,
and what exactly is that order?
11-16-2007, 03:25 PM#6
Troll-Brain
hmm sorry i completly mess the point.
with this you can stop immediatly an unit (try to give an immediate order to an unit which has received a location or widget order )
this order is the result to a pause or stun unit (if she isn't pause/stun)
if she is stunned (widget order -> the unit or item who stun)
if she is paused (location order -> Location (0,0) )
i have not a better idea

You can also use "stop" instead of 851973, but if you use 851973 , if the unit has an immediate order it is "saved"

so you can unpause the unit when you want (time of your stun)
11-16-2007, 03:52 PM#7
Malf
Quote:
Originally Posted by cohadar
Yeah well I do cast storm bolts with dummy but the problem is I have to move dummy to a target to prevent delay from missile flying.

If only blizzard made an instant stun ability..

Exactly like how it is really done.. :/

What is so bad about creating a dummy at the target's location and then just ordering it to cast storm bolt? Lag?(wtf?)
11-16-2007, 04:04 PM#8
cohadar
Oh there is nothing wrong with it, it works without lag,
I just though there might be a more simpler/direct solution...

I guess there is not.
11-16-2007, 11:18 PM#9
Toadcop
...the wall is your best friend.
missle may be instant =\ using 0 missle speed.
n\c
TT

// pause unit is evil for that. it pause also orders buffs etc.
11-17-2007, 07:54 AM#10
Pyrogasm
Resourceslol. blu_da_noob's Custom Stun System
11-17-2007, 10:19 AM#11
cohadar
Quote:
Originally Posted by Toadcop
...the wall is your best friend.

What is the wall?

I cannot use custom stun systems because I am scared of dummies with attack.
11-17-2007, 11:30 PM#12
BestZero
Set projectile speed of Storm Bolt to 0 = instant stun.


Pause and Unpause may cause some bugs if you have other function call them when unit is already paused.
11-18-2007, 03:16 AM#13
Pyrogasm
Quote:
Originally Posted by cohadar
I cannot use custom stun systems because I am scared of dummies with attack.
What are you on about? That system uses a dummy stormbolt. No attacking there.
11-18-2007, 12:04 PM#14
cohadar
Oh, I thought it was one of those "dummy with a bash" stuff..