Searing Arrows: Creating effect on caster's hands

krainert

Member
Reaction score
10
Greetings,

Is there a way to add an effect to caster's hands when Searing Arrows is on? I haven't had any luck with Art - Target or Art - Special so far.

Thanks.
 

Moradiae

TH.net Regular
Reaction score
14
I think you should try Art - Caster no?

I don't know much about these attachments myself :p
 

TomTTT

New Member
Reaction score
44
It would be pretty simple, Just find out when the someone casts it, with the event unit begins casting an ability. Then do:
Special Effect - Create a special effect attached to the right,hand to (Triggering unit)
Special Effect - Create a special effect attached to the left,hand to (Triggering unit)
 

Moradiae

TH.net Regular
Reaction score
14
Is there an event that detects a unit auto-activating an ability?
or am I understanding the question wrongly here
 

Moradiae

TH.net Regular
Reaction score
14
what I meant is that when unit auto-activates an ability, the unit didn't start casting any ability yet, it can, but not necessarily
so the event - unit begins casting an ability is not the case here, but can be

although creating attachment when the unit casts an ability could be done in the said way, and Art - Caster attachment also gives the same result, I think what krainert is asking for here is to create special effects when the ability is auto-activated,
Correct me if I am wrong here, krainert

you asks very good questions and all of them, so far, are also what I wanted to know how to solve :)


edited

got it :D:D:D

from this thread

Trigger:
  • detect
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • Game - Display to (All players) the text: A
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(flamingarrows))
        • Then - Actions
          • Game - Display to (All players) the text: B
          • Special Effect - Create a special effect attached to the overhead of (Triggering unit) using units\critters\Albatross\Albatross.mdl
          • Set speceff[1] = (Last created special effect)
          • Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Orc\Ensnare\EnsnareMissile.mdl
          • Set speceff[2] = (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(unflamingarrows))
        • Then - Actions
          • Game - Display to (All players) the text: C
          • Special Effect - Destroy speceff[1]
          • Special Effect - Destroy speceff[2]
        • Else - Actions


map attached :)

trigger name : Detect
 

Attachments

  • Show Range MUI.w3x
    21.1 KB · Views: 206

JsK

New Member
Reaction score
0
I think this should work.

Trigger:
  • Special Effect
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(flamingarrows))
        • Then - Actions
          • Set Unit = (Ordered unit)
          • Special Effect - Create a special effect attached to the hand of Unit using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
          • Set Special_Effect = (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(unflamingarrows))
        • Then - Actions
          • Special Effect - Destroy Special_Effect
        • Else - Actions
 

krainert

Member
Reaction score
10
To clarify: Yes, I mean I want the effect there when Searing Arrows is set to autocast.

Thanks.
Then what do I do if I need an arbitrary number of heroes having the ability? Will I have to leave the trigger looping to test when autocast is disabled (and how do I check this)?
 

TomTTT

New Member
Reaction score
44
what I meant is that when unit auto-activates an ability, the unit didn't start casting any ability yet, it can, but not necessarily
so the event - unit begins casting an ability is not the case here, but can be

although creating attachment when the unit casts an ability could be done in the said way, and Art - Caster attachment also gives the same result, I think what krainert is asking for here is to create special effects when the ability is auto-activated,
Correct me if I am wrong here, krainert

you asks very good questions and all of them, so far, are also what I wanted to know how to solve :)


edited

got it :D:D:D

from this thread

Trigger:
  • detect
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • Game - Display to (All players) the text: A
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(flamingarrows))
        • Then - Actions
          • Game - Display to (All players) the text: B
          • Special Effect - Create a special effect attached to the overhead of (Triggering unit) using units\critters\Albatross\Albatross.mdl
          • Set speceff[1] = (Last created special effect)
          • Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Orc\Ensnare\EnsnareMissile.mdl
          • Set speceff[2] = (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(unflamingarrows))
        • Then - Actions
          • Game - Display to (All players) the text: C
          • Special Effect - Destroy speceff[1]
          • Special Effect - Destroy speceff[2]
        • Else - Actions


map attached :)

trigger name : Detect


*Cough* That's my Show Range MUI with hastables I uploaded and you checked *Cough*
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Bear in mind that this method only creates/removes the effect when it's ordered on/off by the player, not when the ability is enabled/disabled by other means, eg. when running out of mana or being silenced. Hopefully that's OK with you, because it's not so easy to handle those other cases...believe me, I've tried. :p
 

Sajin

User title under construction.
Reaction score
56
Bear in mind that this method only creates/removes the effect when it's ordered on/off by the player, not when the ability is enabled/disabled by other means, eg. when running out of mana or being silenced. Hopefully that's OK with you, because it's not so easy to handle those other cases...believe me, I've tried. :p

wouldn't

If unit is dead = true
destory sfx
If units mana equal to 0
destroy sfx?

work?

also cant you do this all through buffs? or no?
 

Syndrome

You can change this now in User CP.
Reaction score
126
Alternatively, you can make Searing Arrows a toggle spell, like Immolation. This would enable you to very easily create the special effects.
Here's an idea:
Make it based off Immolation, except with no mana cost and casting time. It is here you put in the special effects.
Then, with one trigger, detect when Immolation is on or off, and give the unit an ORb effect which has a Mana cost. This will cause the unit to 'lose' mana everytime an attack is made.
Done.
 

krainert

Member
Reaction score
10
Thanks, sounds like the best way to do it, Geoff.
However: When I do as suggested, the Orb (of Darkness) needs to be set to autocast before functioning. How can I work around this?
 

krainert

Member
Reaction score
10
I fixed it with this instead:
Code:
Events
    Unit - A unit Is attacked

Conditions
    ((Attacking unit) has buff Empowered Kinetics ) Equal to True

Actions
    Set _Ability = Empowered Kinetics 
    Set _Unit = (Attacking unit)
    Set _Real = (Mana of _Unit)
    Set _Integer = (Level of _Ability for _Unit)
    Set _Real2 = ((Power(2.00, (Real((_Integer - 1))))) x 10.00)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            _Real Greater than or equal to _Real2
        Then - Actions
            Set _AttackType = Spells
            Set _DamageType = Force
            Set _Unit2 = (Attacked unit)
            Set _Real3 = ((Power(2.00, (Real((_Integer - 1))))) x 20.00)
            Unit - Set mana of _Unit to (_Real - _Real2)
            Unit - Cause _Unit to damage _Unit2, dealing _Real3 damage of attack type _AttackType and damage type _DamageType
        Else - Actions
Thanks :)
 
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

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top