• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Sleep Ability Uninterruptible

Status
Not open for further replies.
Level 7
Joined
Feb 20, 2016
Messages
274
I'm trying to make the Dreadlord's sleep ability be uninterruptible so the targeted unit can't be simply attacked to remove the spell. I tried adding an invulnerability buff and divine shield buff but it didn't work.

I guess it maybe needs to be done through triggers?
 
There's an initial phase of making the target invulnerable and paused before the actual sleep takes place.

It might need to trigger it's invulnerability when the sleep is properly applied. If the spell needs to be casted at multiple units then you need to make it MUI in many ways.

In case your not familliar in MUI methodology then the easiest ones but limited are variable shadowing;
MUI Triggers with Waits

Still use periodic timers, they are actually powerful considering that 'sleep' is a buff and can be dispelled.
Simple Structure:
Store/Add the targeted unit on a unit group onCast and make them invulnerable.
Loop through the unit group periodically ( .10 ) to check if the picked unit has buff then remove if it is not detected; make it vulnerable and remove it to a unit group. Checking if it is dead is also necessary in 'Or' statement.
 
Last edited:
warcraftmodding123

Yes, you want an ability that stops an unit from moving, casting spells, ect. But unlike sleep is not removed when the unit is attacked. That is exactly what stun does. Aesthetics and special effects is irrelevant, you can change those. So you can just use Storm Bolt ability. Remove Damage, missile art, and change the buff. Ect.


Here is an example:
 

Attachments

Last edited:
Ah, nevermind, I was wrong, the Data - Stun Duration of Sleep doesn't actually stun, but make the target invulnerable. Though that can't be removed with a dispel either.
You can set by a trigger that whenever a unit casts a dispel ability, it makes the targeted unit vulnerable, although this may collide with other spells which make the target invulnerable and remove them too, if you have any more of those used in the map.
Edit: By the way, stun is removable by triggers: Remove stun by triggers?
 
Last edited:
Uh, dont remove stun buffs
( it is not recommended )
instead use sleep buff
( detected as negative )
It can be dispelled.
Just check periodically if the target has no sleep buff then remove the invulnerability. If you've just read it carefully about periodic timers that I've suggested above...
But it seems that it is too much complicated for you and your unexperienced in triggering stuff so better yet start to browse the GUI triggering tutorials in this site and learn.
 
Uh, dont remove stun buffs
( it is not recommended )
instead use sleep buff
( detected as negative )
It can be dispelled.
Just check periodically if the target has no sleep buff then remove the invulnerability. If you've just read it carefully about periodic timers that I've suggested above...
But it seems that it is too much complicated for you and your unexperienced in triggering stuff so better yet start to browse the GUI triggering tutorials in this site and learn.


I don't have time to learn GUI triggering, I am learning/modding other games too. If you could kindly give me the trigger that does what you say, I would gladly accept it :)
 
Status
Not open for further replies.
Back
Top