Deactivate Ability

Tyrulan

Ultra Cool Member
Reaction score
37
I want to be able to turn off an ability for let's say 10 seconds. The cooldown will be one second. This is because my spell may last longer or shorter each time it is used and I don't want multiple uses at the same time. Any ideas?

Thought of maybe having a dummy unit cast silence, but I've seen this done before (like how chain lightning won't allow you to cast until the first one finishes)
Or Divine Shield lasts 45 seconds, no questions and you can't click the spell icon until is over.
 

Tyrulan

Ultra Cool Member
Reaction score
37
BUMP: Anyone got anything? I added some to the description of my problem. Thanks in advance.
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Well if that ability is the only one then you can go ahead and cast silence, but it will block most of the other active abilities as well ^^. As for divine shield you can change in the gameplay constants if it can be deactivated or not (along with numerous other things). Chain lightning i believe is coded like that.

You can always remove your ability and add a dummy ability that's passive with the disabled icon and same tooltip, then after 10 seconds revert the process. Shouldn't be visible to people ^^ you can even add the mana cost to make it look neat, while it would still be passive and uncastable x)

Also i assume if you have a certain effect or buff, you don't have to wait for the 10 seconds, just do a check if the spell stopped working and put the normal spell back in ^^
 

Tyrulan

Ultra Cool Member
Reaction score
37
Thanks a lot! These are all good suggestions. I ended up having a dummy unit cast a spell on my hero to add a buff which works well as I can check easily in my timer loop.

I am using banish which adds art to my hero. I've got it all working properly but I don't want the art - so question is:

What is the best spell for a dummy ability adding a buff?
 

Ayanami

칼리
Reaction score
288
Bump. Still looking for some help on this.

Well, I would really use a timer instead of placing of buffs. Buffs can't stack so it isn't really worth wasting it on this. Well, I can think of Inner Fire with null values as a targeted buff placer.
 

Psiblade94122

In need of sleep
Reaction score
138
make a dummy unit for the tech tree requirement.

When the spell is used, change that dummy to antoher dummy2 with an epiration timer (dummy2 has the hydra's respawn ability set to make 1 of the dummy that fulfills the tech requirement)

So basically
Dummy is used to fulfill tech requirement for the skill
Skill is used
Dummy changes turn into Dummy 2
An expiration timer is added to dummy 2
Dummy 2 "Expires"
Dummy respawns

Skill can now be used again
 

Tyrulan

Ultra Cool Member
Reaction score
37
Hmm okay best way to explain this:

My timer checks to see if a unit has a buff. If the unit does, it destroys itself and that instance of the trigger.

The second buff is placed when the spell is cast, as an indicator that that unit already has an instance of the trigger running.

So, all I want want is an ability/buff combo that adds no art to my unit.
 

jomik

New Member
Reaction score
17
You want to just remove an ability while you're doing it? Try this:
Trigger:
  • Player - Disable (Ability being cast) for (Owner of (Triggering unit))
- modify it to your needs? :d
 

Tyrulan

Ultra Cool Member
Reaction score
37
I do not need help with the trigger. Everything works. All I want is a buff that doesn't have built in effects. (Like Banish)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top