Spell FlameThrower

Newbwc3

Sephiroth_VII
Reaction score
157
I'm sorry everyone:( I hadn't realized that I didn't upload the new version. Well now its all up-to-date. :D
 

Sim

Forum Administrator
Staff member
Reaction score
534
Ok you definitely succeeded to make me laugh.

I activate flame thrower and... Wow! I summon children and they die! :eek:

My advice: Set the model used for your dummy to None...! :p
 

Newbwc3

Sephiroth_VII
Reaction score
157
Ok this time I think I got it right! uploaded the new one.

The reason I changed the model file to the child was to see if the dummy unit always gets removed...and it doesn't always! Is that a problem that needs fixing? How do u fix it?
 

Tinki3

Special Member
Reaction score
418
>The reason I changed the model file to the child was to see if the dummy unit always gets removed...and it doesn't always! Is that a problem that needs fixing? How do u fix it?

It is a problem that needs fixing, simply because if you create enough dummys that don't get removed, it will cause lag.

No one wants dummy units floating round the place anyway.

Fix it by removing that expiration timer function in you trigger, and give your dummy 2-3 hp in the object editor, then give it a -1.00 hit point regeneration (press Ctrl + Shift to enter any value).

The expiration timer might've not worked properly due to spam, or for some other reason I've got no idea how to explain.
 

SerraAvenger

Cuz I can
Reaction score
234
Hmm on my map for a Tutorial expiration worked neither, good Idea that with the - lef regen ;)
Wich splash damage did you do now? I will see .
 
I

IKilledKEnny

Guest
I read the trigger quickly and I got comments.

This is bot MUI, nor MPI.

FlamethrowerARTandDAMAGE Isn't off at the start of the game (from my understanding it should).

Code:
FlamethrowerARTandDAMAGE
    Events
        Unit - A unit Is issued an order targeting an object
    Conditions
        flamethrowerON Equal to True
        (Triggering unit) Equal to FT_caster
[B]        ((Triggering player) is an enemy of (Owner of (Target unit of issued order))) Equal to True[/B]
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Issued order) Equal to (Order(smart))
                        (Issued order) Equal to (Order(attack))
                        [B](Issued order) Equal to (Order(move))[/B]
            Then - Actions
                Set FT_casterLoc = (Position of FT_caster)
                Set FT_TargetLoc = (Position of (Target unit of issued order))
                Special Effect - Create a special effect attached to the left hand of FT_caster using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
                Unit - Create 1 FT_Dummy for (Owner of FT_caster) at FT_casterLoc facing FT_TargetLoc
                Set FTDummy = (Last created unit)
                Unit - Add a 1.00 second Generic expiration timer to FTDummy
                Unit - Order FTDummy to Human Mountain King - Storm Bolt (Target unit of issued order)
                Unit - Cause FT_caster to damage circular area after 0.00 seconds of radius 250.00 at FT_TargetLoc, dealing 10.00 damage of attack type Spells and damage type Fire
                Special Effect - Destroy (Last created special effect)
                Custom script:   call RemoveLocation(udg_FT_casterLoc)
                Custom script:   call RemoveLocation(udg_FT_TargetLoc)
            Else - Actions

No triggering player in this trigger. Why do you need the second bolded line?

Also I can't see why clicking faster will deal more damage?
 

Newbwc3

Sephiroth_VII
Reaction score
157
This is bot MUI, nor MPI.-------------------------------> No it isn't

FlamethrowerARTandDAMAGE Isn't off at the start of the game (from my understanding it should). FIXED

Now @Tiki3 I uploaded it this time with the child model on purpose to show you that when you give the dummy unit 3hp and a -1.00 health regen it makes it even worse!!!
 

Sim

Forum Administrator
Staff member
Reaction score
534
Did you check in...

File - Preferences

the entry "Allow negative real values in the Object Editor"? Try with 2 hp also.
 

Newbwc3

Sephiroth_VII
Reaction score
157
Did you check in...

File - Preferences

the entry "Allow negative real values in the Object Editor"? Try with 2 hp also.

Yes I did do all that and it still continues to not remove the dummys. The reason for this, I think is because if u give them a negitive regen then it makes them die and then come back to life, and then die again, come back to life again.... never really dieing forgood because its there health regeneration.weird. But I dont know. help. (Look at the map in first post if u dont know what im talking about)
 

Sim

Forum Administrator
Staff member
Reaction score
534
Well, only thing I can suggest is try again with expiration timers. Always been working good for me :eek:
 

Newbwc3

Sephiroth_VII
Reaction score
157
I think the reason it leaks is because of all that clicking making the trigger run over and over real fast. Thus sometimes not giving an expiration timer to a dummy.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Yes, as clicking really fast doesn't cast it everytime you click, there is a maximum execution count limit, or maybe the event can't handle it... Dunno :p

You could add a trigger which goes like this:

Code:
Dummy remove
    Events
        Unit - A unit enters (Entire map)
    Conditions
        (Unit-type of (Triggering unit)) Equal to Dummy
    Actions
        Wait 1.00 seconds
        Unit - Remove (Triggering unit) from the game

And add a commented line which mentions the fact that this trigger is needed, even though normally expiration timers get rid of dummies.
 

Newbwc3

Sephiroth_VII
Reaction score
157
Ok uploaded it yet again, and this time no children and no leaks (to my knowledge)! OMG never knew this would be so much work.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Well done. Just tested it and it worked fine. No leaks.

Approved.
 

SerraAvenger

Cuz I can
Reaction score
234
UMMMM.....

I know why It didn't work with -1 life regen:
Becouse of your revival trigger^^

You have to disable it for dummy units : P

Edit: Please use comments for comments, not triggers.
You can add a comment by clicking on the three lines symbol at the right of the "create new trigger" button.
It is far easier to read, and won't be checked when an event occurs....
 

Newbwc3

Sephiroth_VII
Reaction score
157
Updated it again and did what SerraAvenger said

Got rid of the dummy removal trigger and the Add generic timer action. Now the dummys are removed by a -1.00 health regen.

Also fixed the comment thing.

Thx Serra didn't think of that.
 
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 Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top