Trigger triggering from AutoCast ability?

Baltazhar

Active Member
Reaction score
55
I'll cut straight to the chase here.

I have an ability based off Searing Arrow, original used by Priestess of the Moon. Since it's just a shell-ability, and the real work is trigger effects, nothing more needs to apply here.

So far I have tried:
Unit - A unit Begins casting an ability
Unit - A unit Finishes casting an ability
Unit - A unit Starts the effect of an ability

-without any results.

What I wanted my ability to do is: Use or set on autocast, while active (or used) the unit deals splash damage.
When casting the ability myself (not using autocast), the trigger triggers just fine. With autocast, no response.
The unit in question is a melee hero, and the damage splashed should be % of his original damage, so items would affect it as well.

The trigger gives the unit the ability Cleave for 1 second, then removes it again. Is there a smarter way to do this? Read something about using the Orb of Fire ability for splash, but I still need it to be wrapped in an autocast spell.
 
Reaction score
107
quill spray and orb of annihilation both require the unit to have "missile (splash)" as their attack type before it actually splashes.

why not just give the unit cleave, and just detect whenever it is ordered to turn on auto cast and remove it whenever its not, while leaving the single cast triggers in place as they are?
 

Ghostwind

o________o
Reaction score
172
So what if they need to have missile splash before? Make it so, and make the default splash 0 and make it bigger when you turn on the ability.
 
Reaction score
107
The unit in question is a melee hero, and the damage splashed should be % of his original damage, so items would affect it as well.

The unit is a melee unit, so if you give it any missle attack type, certain abilities that it may use/require may not work. eg vamp aura.
quill spray and orb of annihilation dont deal % damage either, they deal the heroes damage + whatever damage bonus the ability gives.
 

Baltazhar

Active Member
Reaction score
55
That was precisely what I was looking for! An event that turns it on whenever it's ordered to activate the autocast ability..

Testing right away, +rep as always for the helpers of thehelper (.net) ;)

EDIT: Baka, ur too helpful >.< Can't rep u again alrdy :D

EDIT 2.0: Erm... Stumpled into a problem.
Would the event be Unit ordered to target an Object / no target?
And what would the condition be for that one?
.. I'll try to look around that damn GUI, and check for responses inbetween tearing out my hair :p

EDIT 3:

Searched on Google for something about String values of orders given and found this great tip:
Code:
Display Order Strings
    Events
        Unit - A unit Is issued an order targeting an object
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order with no target
    Conditions
    Actions
        Game - Display to (All players) the text: (String((Issued order)))
So I found that flamingarrows and unflamingarrows are the strings involved when based on Searing Arrows (as it says in the Object Editor, just never knew what that was for).

Testing away...
 
Reaction score
107
the event is something like, unit is issued an order with no target, and the condition is order string comparison, which since you're using searing arrows, should be something like "flamearrowson/off" but you can check on the ability in object editor.
 

Baltazhar

Active Member
Reaction score
55
Yeah, found them as I said in the previous post. "flamingarrows" and "unflamingarrows" were the strings in question.

I have a new problem now (oh wonderful world!) :eek:

The trigger adds a Cleave ability to the unit, and trying to disguise it, i set the Cleave-ability's button position 0,0 (x,y), and gave it no icon.
So now it shows up as a green box (cuz of the lack of icon), at 1,1 (x,y), since that's the closest to 0,0 that's not taken by anything else.

Is there a way to fix this? I've seen that the Attribute Bonus ability has a "Show button" data value, but since that can't grant Cleave, I'm pretty lost...
 

Baltazhar

Active Member
Reaction score
55
Great link Baka, never knew that Spellbook had these many options..

Figured out what u meant by the first 2 lines tho.

I have worked everything out to my utter satisfaction, however, there is 1 medium-sized problem.

When casting the ability manually (not autocast), I've set the event to "Unit begins casting ability", but the problem is that it's too slow. When the unit has attacked/vast the spell, the trigger activates. Thus, spending mana, but doesn't deal the AoE from the Cleave.

I've tried setting the casting time of the shell-ability to .50 seconds, but the unit still does the attack before Cleave gets added.
Any final suggestions for a moron in dire need? :D
 

Baltazhar

Active Member
Reaction score
55
Oh.. Silly me :D

That was just the "trigger triggering" part. The "trigger actually working" part still lacks behind. I should get a medal for worthless explanations :banghead:
 
Reaction score
107
you could use "a unit is attacked" event, but... i wouldn't... too much of a hassle really..

other than that, all i can think of is, when they learn the ability, trigger it to auto cast [or set it as default active ability], and if they try to un-auto-cast, then re-auto-cast it again...
 

Baltazhar

Active Member
Reaction score
55
Darn, thought this would be a problem...

"Unit is attacked" would use a lot more memory than needed really.
Having it auto-activate is a rather good suggestion, but what if ppl wanted to save the mana for some of the other spells on the Hero? Ofc u couldn't know, since I just referred to it as "unit" and not "Hero for 4 abilities".
I think I will simply include in the description "This ability can not be single cast!", however unsatisfying I may find it.

Baka, thx a lot for the thorough help u've given, I really appreciate it. I wish that I could
Code:
baka-ranger pwns!
    Events
        Time - Every 0.01 seconds of game time
    Conditions
        ((baka-ranger) is Pwning) Equal to True
    Actions
        For each (Integer A) from 1 to Infinite, do (Actions)
            Loop - Actions
                Player - Add 1 to baka-ranger Current reputation
:shades:

...Well.. U get the point :D
 

Baltazhar

Active Member
Reaction score
55
<3 Thx mate... For now, the description will warn ppl. If they do single cast it, it will just cost them a small amount of mana, and they'll figure out that nothing special happened... So it's almost completely fool-proof :D

EDIT: Btw, u can PM me if u ever need anything as well... Not that ppl in here aren't friendly and such, but perhaps I know stuff that u don't (yeah right, in my dreams). I solely do GUI trigger work, and whatever can be done within the WE.
 
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

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top