HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Modified Sleep....

02-22-2004, 02:05 PM#1
sgtteflon
Alright, I am using a modified sleep and trying to set it up so that a unit will stay asleep even when it is attacked. I do this be renewing the sleep spell with a dummy caster every time the unit is attacked, and storing the original sleep duration in a timer so that the duration doesnt reset every time.

Now, the problem is, sleep has the effect of making units invulnerable for one second and pausing all units that are attacking the target. So, in essence, my renew trigger forces all units to stop attacking the sleeping unit. I have already set the stun duration to 0, and removed the Sleep (Stun) and Sleep (Pause) buffs from the buff section of the object editor.

Does anyone know what I can do to make this work?

EDIT: Ive been thinking, and I think I could just go back and change my modified sleep to be a modified stun with all the sleep art. HOWEVER, i dont want to do this if i can avoid it (this is one part of a bigger whole, itd mean alot of redoing trigger work), so if anyone can help me....
02-22-2004, 02:16 PM#2
Shimrra
Quote:
Originally posted by sgtteflon
EDIT: Ive been thinking, and I think I could just go back and change my modified sleep to be a modified stun with all the sleep art.
That's probally the way to do it. The other way is to use a trigger to pause the target unit and create the sleep sounds and special effects.
02-22-2004, 02:21 PM#3
sgtteflon
That was my very first idea, but how do i keep track of all these bloody paused units for unpausing in the right order? As it stands, Im using a complicated series of counter variables, timer arrays, and reset triggers. Either way, though, Im probably gonna have to go back and use one of those two systems. Sigh!
02-22-2004, 02:58 PM#4
linkmaster23
HAHA! I finally found a use for this retarded glitch. Take sleep, give it a duritation of .01 then run a trigger saying that when the ability is cast, pause the targeted unit. The sleep buff will remain there until you unpause it and remove all buffs! I always have this problem using spells such as Storm Bolt, becuase it stuns them forever!!! Does that answer your question?
02-22-2004, 03:01 PM#5
sgtteflon
YES if that works you saved me life. will the buff remain even if the unit is attacked while paused?
02-22-2004, 03:04 PM#6
linkmaster23
Nope. One of the reasons it makes me so mad.
02-22-2004, 03:05 PM#7
sgtteflon
GRRRRRR!! lol, oh well thankyou.
02-22-2004, 03:09 PM#8
linkmaster23
Well you could make it so that when the unit attacks the targeted unit just un buff it and un pause it..
02-22-2004, 03:10 PM#9
sgtteflon
i could, but im trying to make a unti that stays asleep when its attacked.
02-22-2004, 03:17 PM#10
linkmaster23
Then DONT do that..