Autocast spell targeting ground

Executor

I see you
Reaction score
57
I need a spell which can be cast on the ground (and on widgets), but which allows rightclicks to be detected. Someone an idea?
 

Executor

I see you
Reaction score
57
If nothing has changed with these spells, then no.

I want to make an ability, which has an normal shockwave style effect via leftclick (triggered ofc, press hotkey and select target point) and when rightclicking on the ability I replace it with an no order ability which shoots the shockwave simply in the facing direction (simply press hotkey). Rightclicking on the no order ability exchanges these 2 abilities again.
 

Seprest

New Member
Reaction score
15
I really don't quite know what you exactly want based on the info you've provided. Do you want to be able to face a direction and simply press a hotkey to fire a shackwave in that direction? That would b pretty simple to do...

"when rightclicking on the ability"
"ability which shoots the shockwave simply in the facing direction (simply press hotkey). "


Right clicks can be detected by checking if a unit is ordered to move, you might be able to check if your ability has been right clicked(made to autocast by the name of the topic?) and cast the ability at the target point. Modify with conditions for the cast such as range and whatnot.

Do you mean you want to be able to detect if the autocasting of an ability is turned on/off, or are you just trying to make a multi-functional button to cast differnt modes of a spell? Maybe if you turn autocasting on/off, you just replace the ability with a different one that just takes info on where you right click(target issued order - move) and cast the spell at that location? You could make the spell visually identical, but you will be able to differentiate the spells when checking if a triggering unit has the ability.
 

Executor

I see you
Reaction score
57
I apologize for my inability to ask understandable questions.

Do you mean you want to be able to detect if the autocasting of an ability is turned on/off, or are you just trying to make a multi-functional button to cast differnt modes of a spell? Maybe if you turn autocasting on/off, you just replace the ability with a different one that just takes info on where you right click(target issued order - move) and cast the spell at that location? You could make the spell visually identical, but you will be able to differentiate the spells when checking if a triggering unit has the ability.

That's exactly what I want to do.
But the problem is: Tell me an ability which can be autocasted and target ground.
 

Seprest

New Member
Reaction score
15
I don't think there is one! Everything would have to be triggered :banghead:

I was thinking something along the lines of...
Trigger:
  • trigger1
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(myAbilityOn))
    • Actions
      • Unit Group - Add (Triggering unit) to someUnitGroup

Trigger:
  • trigger2
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • ((Triggering unit) is in SomeUnitGroup) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) is in (Units within 600.00 of (Target point of issued order))) Equal to True
        • Then - Actions
          • Animation - Play (Triggering unit)'s attack animation
          • -------- Creat and move a dummy units with shockwave animation to target point --------
          • Unit - Create 1 Footman for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 50.00 towards (Facing of (Triggering unit)) degrees) facing (Position of (Triggering unit))
          • Unit - Order (Last created unit) to Move To (Target point of issued order)
        • Else - Actions
          • Do nothing


And a trigger to remove the unit from the unit group...

I was thinking this for something like a starcraft terran tank in siege mode... Or that mini game in Uther Party, where the riflemen have to try and shoot the really fast bunny by right clicking.
 

Executor

I see you
Reaction score
57
The trigger is really not the problem ;), but thanks anyway.

I could maybe use kaboom, react to the kaboom order, replace kaboom with e.x. carrionswarm cast carrionswarm to the ordered point and replace carrionswarm again with kaboom to be ready to catch the autocast event.
But that would be the ugliest workaround I can imagine..
 

Seprest

New Member
Reaction score
15
That wouldn't be that ugly. Since kaboom! targets an acquired unit, it would work fine to get coordinates from, just make sure to stop your unit from running over to the target afterwards >.>


I get what you mean now, you want to be able to attack to move and have your ability auto cast on units, but targeting the ground. I thought you wanted to be able to right click on a place on the map and make a unit cast a spell on it haha. By right clicking you just mean turning on auto-cast the whole time?
 

Executor

I see you
Reaction score
57
That wouldn't be that ugly. Since kaboom! targets an acquired unit, it would work fine to get coordinates from, just make sure to stop your unit from running over to the target afterwards >.>

One example problem:
Kaboom ordered
Kaboom exchanged with shockwave
Shockwave will be exchanged with kaboom again after finishing the spell
=> All rightclicks on the shockwave icon while casting will be useless

Kaboom ordered
Kaboom exchanged with shockwave
Shockwave will be exchanged with kaboom directly after the "spell effect" event.
=> Hero animation fails

you want to be able to attack to move and have your ability auto cast on units, but targeting the ground

Not exactly.
I make an example:
Your hero has the ability shockwave. The normal shockwave. You can walk around, click on the shockwave icon (via leftclick) and choose a target point on the ground (via leftclick) as normal. But now you click with rightclick on the icon. My trigger fires and exchanges shockwave with a dummy ability like roar without effect. From now on clicking the 'new' shockwave button will result in a shockwave to be casted simply in the facing direction of the hero.
Rightclicking on the dummy ability again, will bring the normal shockwave back.

I'm developing a fast assassin-style map atm (shockwave = shuriken :)), so this would maybe speed the game a little bit up.

By right clicking you just mean turning on auto-cast the whole time?

Correct :thup:
 

Seprest

New Member
Reaction score
15
You can use the condition from my first trigger to detect when the autocasting of the ability is turned on, then replace the ability with a second one that gives a different functionality, and with autocasting on so that it appears that it is the same spell. Each spell that can turn on/off autocasting should have a string it for the action of turning it on/off. Wouldn't this way of detecting when the ability should be changed, be more fluid?
 

Executor

I see you
Reaction score
57
You can use the condition from my first trigger to detect when the autocasting of the ability is turned on, then replace the ability with a second one that gives a different functionality, and with autocasting on so that it appears that it is the same spell. Each spell that can turn on/off autocasting should have a string it for the action of turning it on/off. Wouldn't this way of detecting when the ability should be changed, be more fluid?

YES. The reason for this thread is to find a spell which can target ground, is autocastable and can be configured to be casted without having any effect.
 

Curo

Why am I still playing this game...?
Reaction score
109
I can't think of any auto-cast spell that isn't unit/corpse/no target.

Curse
Heal
Cold/Searing/Black/Poison Arrows
Phase Shift
Get Corpse
Raise Dead
Spirit of Vengeance
Carrion Beetles
Frenzy
Bloodlust
Abolish Magic
Spell Steal
Inner Fire
Slow
Web
Unstable Concoction
Essence of Blight
Orb of Annihilation
Spirit Touch
Repair/Restore/Renew
Frost Armor
Faerie Fire
Replenish Life and Mana
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top