• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Activate Auto-cast when Upgrade is done.

Status
Not open for further replies.
Level 10
Joined
May 21, 2014
Messages
580
Greetings once again Hive!

I am stumped to yet another problem that I recently found out when testing.
I have a building called the Charger that repairs nearby buildings one by one when damaged. So, I have used Peasant's Repair as a base skill and edited its Data field values. I also made the Default Active Ability field to be set on the same repair skill that I edited. When the Charger is successfully built, I can see that the Auto-cast is active, which is working well. But then, Charger has an upgrade called the Upgraded Charger. When I upgrade Charger into Upgraded Charger, even when the Default Active Ability is set to the edited Repair skill in Upgraded Charger, the auto-cast is not active.

As a response, I created a Trigger:
  • Activate Autocast
    • Events
      • Unit - A unit Finishes an upgrade
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Power Plant
          • (Unit-type of (Triggering unit)) Equal to Upgraded Charger
    • Actions
      • Unit - Order (Triggering unit) to Human Peasant - Activate Repair
The trigger however does not work.

Are there any other ways just so I can activate auto-cast automatically without manually clicking on it?

Thanks Hive. :ogre_kawaii:
 
I had the same problem with activate "repair human". Just use the repair nightelfs and the renovate ability of the wisps. It does work.
 
Status
Not open for further replies.
Back
Top