Casting from Locusted units.

Jazradel

Helping people do more by doing less.
Reaction score
102
In my map I have 3 units. A Summon, a Hero and a Dummy Caster. The Summon has Locust(untargetable), Endurance Aura, and Cloud(it autochannels it). My hero can summon the Summon every 35 seconds and they last for 120 seconds. When I cast my heros ultimate I want flames to appear over every Summon near my hero and deal damage to nearby units. The two ways I thought of going this with are Immolation and Flame Strike. The problem is you can't target or get location from Locust units(aside from last created) so I can't order it to cast flame strike(or immolation) at its position or order a dummy unit to cast flame strike on it.

So how would you do it?

Edit: I rewrote my question. See below for the old one.

I have an ability that summons wards. These wards are immobile, invincible(locust), unselectable(locust) and have an aura that gives speed(endurance) and evasion(smokescreen).

I want when my unit cast its ultimate to deal X dps to units by the ward. MY problem is you can't use the pick command to order these units(or other units) to cast flamestrike(my current dps ability) at the location of the ward(you can pick or get location from units with locust). So how do you do it? My next problem is changing it so it won't interupt wards.

Basically what I'm asking is:
How do you get the position of units with Locust.
 

Kershbob

New Member
Reaction score
30
Maybe make it so when the ultimate is cast pick every unit in playable map area and then check if it's your locust unit and if it is give it the ability immolation?
 
T

ThE-eNiGmA

Guest
a locusted unit is pretty much unselectable. I didn't really read all of the question, but i know that putting an auto ability like phoenix fire works on the locust. If you are trying to cast onto the locust, that could be more difficult. The problem is that if you are using a targetable spell that aims at a unit...I don't think it can be done. You could aim it at the location of the unit, there are ways to do that, but that would hardly do for most things.
 

Jazradel

Helping people do more by doing less.
Reaction score
102
ThE-eNiGmA is right it is impossible to use pick to select Locust units. I just need a way to get the location of each Summon with range on my Hero.
I can't use Phoenix fire because I need it to work only when my hero casts its ultimate. Is there a way to emulate the effects of Locust but still be able to use Pick unit and Position of Unit?

Edit: You can target Locust units if you create them in trigger by using Last Created Unit. Maybe I can set up an array and assign each Oil Spill and new number when it is created.
 
B

BlizZard

Guest
BlizZard

This meybee help :rolleyes:
If you go the undead special units and make locust have like 200 mana
put the spell that you want in the active spells nad put immaliton or what it calld on auoto cast?
Try that
 
B

BlizZard

Guest
BlizZard

Sorry 4 doubble posting,
you cant Create locust with triggers joust try it out
 

Kershbob

New Member
Reaction score
30
Make a permanent immolation ability which requires a research. Then make it so when the hero casts his ultimate the research is set to 1 and when it's finished make it set the research to 0.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> when it's finished make it set the research to 0

Sounds good, but, unfortunately, it isn't working.
You can't unresearch researches...
 

Kershbob

New Member
Reaction score
30
Make the ultimate move a copy of metamorph and make the immolation require the unit you turn into then.


I tested it and I don't think that works.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Care for weird thoughts? Here's one:

Locusts don't necessarily need the ability "Locust" :)

Remove it, put "Ward" in "unit classification" and "Decoration" in "targeted as".
That will, obviously, make them selectable, but as for shooting...
do you have a unit that can shot decoration?
 

Kershbob

New Member
Reaction score
30
Instead of a temproy spell you could make the ultimate an upgrade ability like engineer upgrade. That would work fine.
 

Jazradel

Helping people do more by doing less.
Reaction score
102
I tried using this code. I didn't work.
Edit: I just realized that it will cast cloud before it has a chance to cast flamestrike. I'll fix that right away and then see.
Edit2: I put in the wait command and it works perfectly. Thank you everyone. Except you.
Code:
Unit Group - Pick every unit in (Units owned by (Owner of hero) matching (((Unit-type of (Matching unit)) Equal to Summon) and (((Region centered at (Position of hero) with size ((300.00 + ((Real((Level of Ultimate  for hero))) x 100.00)), (300.00 + ((Real((Level of Ultimate  for hero and do (Actions)
    Loop - Actions
        Unit - Order (Picked unit) to Human Blood Mage - Flame Strike (Position of (Picked unit))
        Unit - Order (Picked unit) to Human Dragonhawk Rider - Cloud (Position of (Picked unit))

I'm fixing memory leaks later by the way.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
    +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 Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top