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.
  • Varine Varine:
    I ordered like five blocks for 15 dollars. They're just little aluminum blocks with holes drilled into them
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air

      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