Units casting spells by triggers question...

  • Thread starter Thread starter grandchaos
  • Start date Start date
G

grandchaos

Guest
I'm trying to make a unit cast a spell by triggers but i wanted it to cast a custom ability. The problem is i don't know how. I even made a variable about that ability but when i go to "Unit Order to attack Unit" and i choose one of the presets it doesnt show the variable that i made. Is there a way to do this?
 
What is the Text - Order String (Turn on)? Example: If it is based off Devine Shield it would say divineshield, the command would be Human Paladin - Devine Shield (Associated with 'Issue order with no target')

Only some spells still work right when you change the order id. Spellbook, Channel etc.
 
Yes but i haven't tried it yet. Do you mean if i use the human paladin - divine shield even though i customized the skill it would work? And it would still be a custom ability?

What if a unit doesn't have that ability? Do you think it will still work?
 
If customized the skill it would work?
And it would still be a custom ability?
What if a unit doesn't have that ability?
Do you think it will still work?

- Customized abilities will still work using the base spell, as long as you have the correct Order ID
- Yes, if you customize the ability it will cast the FIRST ability using that order ID
- If the unit doesnt have the ID, the outcome will most likely be NULL
- I am positive it will still work, there are very few spells that CAN NOT work with triggers (If any ;) )
 
A little confused. I've heard many times that only a couple of base abilities will allow a custom ability to work when the ID is changed--like channel. Yet you say every order ID needs to be corrected for the custom ability to be used properly, and you say that most any ability will work this way. So is it only a couple of abilities that will work or not?

Thanks.
 
If there is a use for changing the "Text - Order string", I haven't seen it yet.

If you change, for example, "devineshield" to "summonhawk",
then order your unit to "Devine Shield"... well, he'll devine shield just fine.
He won't suddenly start to summon hawks.

Now, some Neutral Hostile abilities, for example, have the same order string as some other Hero ability.
If you want to order that one, you won't find it in the list.
That's when you have a look at the order string, then find the Hero ability that uses it,
and, finally, order to use that Hero ability.

Some abilities have no (visible) order string.
Vampiric Aura for example.
But, well, you don't order it anyway.
Your unit either has it, or it doesn't...

"Channel", "Spell Book" and "Charge Gold and Lumber":
These spells allow you to change the order string and it will work!
But, it's not changing the "text - order string" that will do it.
They come with a "Data" field that holds the ID. And it's that field that will do it.


Anything I missed here? :P
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top