HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can I deactivate an ability through triggers somehow?

03-02-2009, 10:41 AM#1
rednek
Immolation for example?
Thanks, red.
03-02-2009, 10:48 AM#2
Fledermaus
Unit - Issue Order With No Target

Trigger:
Unit - Order Some Unit to Night Elf Demon Hunter - Deactivate Immolation
03-02-2009, 10:51 AM#3
rednek
Damn, I feel like an idiot now TT
Nevermind, thanks

edited: and if I have:
Trigger:
imolation
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to Immolation
Collapse Actions
Unit - Order (Casting unit) to Night Elf Demon Hunter - Deactivate Immolation
Can I remove that buff somehow? Becouse the Immloation cloak stays around unit, and I don't want it to TT
Unit - Remove All buffs from (Casting unit) doesn't work
03-02-2009, 11:12 AM#4
xombie
Okay, what exactly are you trying to do in the end result?
03-02-2009, 11:24 AM#5
rednek
Ability that don't stop the current order of the caster when used.
Berserk is already used. Don't know if I can make channel to work like it.
03-02-2009, 11:28 AM#6
xombie
Okay, so you're trying to deactivate Immolation as soon as it is put into effect. Use the event "Spell Effect" rather than "Spell Cast". I will check to see if this works.

Woah. That's strange. It actually shows the "active" icon as if the spell was deactivated really quickly, but it doesn't actually get deactivated... I don't know, anybody else?
03-02-2009, 11:38 AM#7
Bobo_The_Kodo
Ermm, if you order the unit to use any spell with 'triggerz', the will lose their order anyway. You would have to use Dusk's LastOrder library or something!

Anyway, you have to run it after a 0s timer to deactivate it properly.
03-02-2009, 11:46 AM#8
rednek
Quote:
Originally Posted by Bobo_The_Kodo
Anyway, you have to run it after a 0s timer to deactivate it properly.

This kinda works, but there is some effect of the immolation shown. Plus I have to be albe to spam that order, now I have to wait for some time until I can activate it again :C
Can I make channel ability, so it can be casted and caster wont lose its order?
03-02-2009, 11:56 AM#9
xombie
...I wouldn't consider waiting 0 seconds a very long time.
03-02-2009, 11:58 AM#10
Fledermaus
It is if you're using Waits rather than timers ^^
03-02-2009, 12:25 PM#11
xombie
Hahaha. Forgot.

Rednek, using "Wait 0.00 seconds..." will not work properly. You're going to need to set up a timer that expires in 0.00 seconds and at the end of the timer deactivates Immolation.
03-02-2009, 12:51 PM#12
akolyt0r
Cant you make the ability based on Defend ?
03-02-2009, 12:56 PM#13
Anitarf
I think Wind Walk also doesn't interrput the current order when used, and it should be possible to make it not turn the unit invisible (with an adequately short duration and long fadeout time).
03-02-2009, 01:03 PM#14
fX_
Also, I don't think spell cast and effect are detected for toggle-abilities like immolation. If this is true, you should have 'issued order (immolation)' as an event.
03-02-2009, 01:26 PM#15
Anachron
As far as I know you simple add 'Fan of knifes' and set the speed to 522.
Is it that hard? xD