Spell FlameThrower

Newbwc3

Sephiroth_VII
Reaction score
156
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
156
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
156
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
156
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
156
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
156
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
156
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.
  • 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 The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      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