How to enable autocasting a custom ability?

  • Thread starter Thread starter protossxpt
  • Start date Start date
P

protossxpt

Guest
I have a hero that summons units that have a custom spell that I wish to activate autocast on creation. How would I go about doing this? I tried using the trigger

Actions
Unit - Order (Triggering unit) to <Orc Shaman - Activate Bloodlust>

But they only have the preset original war3 skills.
 
set the default active ability in the Unit editor on the unit you summon to the one you want. This should work. Problems may come up if the ability was based off of something other than an auto-cast ability. Btw the order strings are what world editor refers to, so if you have a trigger set to cause them to cast an ability say bloodlust they have to have an ability on them with the order string of bloodlust. Maybe they even need to have the spell based off of bloodlust too. I cant remember...
 
I'm not exactly sure, but I believe if you use the name of the original ability that you based your custom ability off of, it should work the same. So if you based your ability off of bloodlust, using the trigger "activate bloodlust" should activate your new ability. If the unit has multiple abilities based off the same original ability, however, I'm not sure what will happen.
 
if you have multiple abilities based off the same it will screw up the cooldown, and will cause all sorts of other problems. so there shouldnt be two abilties based off the same anyways. use the object editor where you can, it makes it simpler. Use that first tab in unit editor- Abilities - Default Active Ability
 
hmmm

Well my trigger has nothing to do with bloodlust, I was just showing that I didn't know how to add my custom ability. I have already tried adding it to the default active ability. Unless you have to add to default active AND regular ability tab?
 
you do need to add it to both for it to work properly. it shouldnt need a trigger.. if it doesnt work. then i dont know. make sure to turn your trigger off too once you add the spell to both.
 
At the moment I'm think you have an ability called 'Summon' which summones 3 'Crabs' with a ability based on bloodlust called 'Rage'.

Events - Units begins the effect of an ability
conditions - ability being cast is equal to Summon
Actions - Create 1 Crab at position of casting unit facing whatever
Unit - Order (last created unit) to <Orc Shaman - Activate Bloodlust>

When you create a custom abilty just use the ability you based it on to refer to it in triggers.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top