Warcraft III resources & community, 2003–2006 · archived

Stun Aura

not rated
Submitted by redscoresJASS Enhanced395 downloads19 KB
Screenshot
Screenshot
This are a Requested Spell! Thx going on Daelin and KaTTana for help :D
File Name
Stun Aura.w3x
Author
redscores
Download

Comments

10
It's possible to make a stun system using PauseUnit() only, but I'm not going to implement anyway, haven't got access to the game for a decade.

And just to add, Stun is a buff, which means it can be removed via RemoveBuffs(), while pauses can't be. Stunned units can be issued pre-orders, while paused units can't be ordered.
LOL... Yes, you add the sphere ability. But what about the inventory problem? With Paused Units, the icons of the abilities disappear, like you don't own the unit. With stun they don't disappear. This "tiny" difference is important. And btw, for your pause idea you must wait a couple of seconds for each and THEN remove the pause and the buff. This is even less efficient...

~Daelin
if you want a buff add a Sphere ability .What's the diffents between paused and stunned by a bolt ? both you can't use your inventory .

Make a function for an evident and simple action like that is useless .
Then, stop making useless comments if you don't understand. That function is one of the best (if not, THE BEST) and assures local transport from a function to another. Its brilliant!

Also, the BTLF doesn't affect with anything. That stuff is useless since its DUMMY UNIT. Nobody will see the buff anyway. And as for pausing units, it would hide the inventory (which is an extrmely sucky stun). Stun must have buff, stun must leave the inventory of the unit...

~Daelin
yes i don't understand .
Why do you call what you don't understand useless?
Why do you do use useless function like that : ?
function GetHandleReal takes handle subject, string name returns real
    return GetStoredReal(LocalVars(), I2S(H2I(subject)), name)
endfunction


And why did you Create a Dummy to stun ? Just use the action : Pause unit , or Sleep unit ... and don't listen daelin , your comments are welcome .Nice aura ^^

and with


call UnitApplyTimedLifeBJ (1.50, 'BTLF', dumb)
you can set null instead of 'BTLF'



If your unit are Stuned longer than the refresh Stun aura , makes 1 more group with a linked timer ( timerexpired correspond with the time the units are stuned ) .
Or use the function : IsunitPaused ...
My opinion is the same as Daelin's.
Good but not best.

Rating:(4/5)
Ok... Its a pretty good aura. Not the best I've seen. And your code... I don't like the way you added useless comments here and there. Please remove those. So, overall I give you a 4/5. Not worthy enough to receive a Director's Award but still very good.

~Daelin
This are my Glory! Thx going on KaTTana for his cool fixings and for the Handle Vars and on Daelin for help :D