Spell Homing Missiles

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
You can change the projectile model file for Fan of Knives and the projectiles will seek out individual targets. Try it; I promise it'll work.
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
I just had that discussion with Uareanoob, I won.
This > Fan of Knives
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Well, it was the next day so it didn't really occur to me that it hadn't been 24 hours.
GaLs, the fire only lasts for a set amount of time and it can be changed.
 

emjlr3

Change can be a good thing
Reaction score
395
first off, ur using newgen, why make all configurables which take nothing functions, as opposed to globals?

second, again your using new gen, use a global group for your group, then no need to create a destroy one every go around

no need to clear a group if nothing is left in it, nor before you destroy it

your looping through your group is not good, you count, then grab one, just grab it and make sure its a unit

no need to null your tracker, dummy or targ each loop, just in the end, and if you looped your group right, the targ would null itself (btw why you use two dummy units and move them both?)

anyhow, in the end, this is limited by unit speed, and several things which I noted
above

fix those, and you will get your approval
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
first off, ur using newgen, why make all configurables which take nothing functions, as opposed to globals?
People would have to be using New Gen if I used globals.

second, again your using new gen, use a global group for your group, then no need to create a destroy one every go around
Same answer as above

no need to clear a group if nothing is left in it, nor before you destroy it
I wasn't sure if that mattered as no one I talked to could confirm it.

your looping through your group is not good, you count, then grab one, just grab it and make sure its a unit
Instead of using a group variable just get units in range?
Won't work as I need the group to be able to count, I find this way easier.

no need to null your tracker, dummy or targ each loop, just in the end, and if you looped your group right, the targ would null itself (btw why you use two dummy units and move them both?)
I understand this from our MSN conversation, I'll change this.

I'll get the new version out soon.
 

emjlr3

Change can be a good thing
Reaction score
395
rather....

JASS:
//get your group


get that?
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Ah, Sorry. :)
Going to bed, changes are going to be tomorrow.

Just wondering, can I keep the group?
I'll change it if it means getting this spell approved but could I skip that little thing?
 

emjlr3

Change can be a good thing
Reaction score
395
if you dont want to its fine, but why would you not want to?
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Better organization I guess, at least for me.

Edit: Done
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Cool.. I don't see any problems, on your account that is. I mistakingly put:
JASS:
set dummy = null
set target = null


I don't think you need to null an object unless it is set. But I'm not sure. You might just want to be on the safe side and keep it until someone else confirms otherwise. :)
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
You only need to null a handle if it has been previously set to something and isn't global like so:
JASS:
function SomeFunc takes nothing returns nothing
   local unit Dummy //Notice how it's not set here

   if udg_SomeBoolean then
       set Dummy = CreateUnit(...)
       call DoSomethingWithThis(Dummy)
       call UnitApplyTimedLife(Dummy, 'BTLF', 2.00)
       set Dummy = null //We null it here because we know it has a value
   endif

   //Note how the line "set Dummy = null" is not present here
endfunction
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Okay, will do...

Edit: According to Emjir3, I should just leave it the way it is, I had it like that before...
 

emjlr3

Change can be a good thing
Reaction score
395
when ur done with your code, update it in the first post, let me know and ill reread it
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Wait, so do you want me to null the unit every loop or at the end?
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
For any unit variable you only need to null it at the end. Or, if there is the possibility that it is not created, at the last point you know it to exist.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top