• 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!

Autocast doesn't work after unit upgrade

Status
Not open for further replies.
Level 2
Joined
Feb 23, 2016
Messages
7
This isn't exactly about triggers but I couldn't find a better board for this.

I'm creating a TD at this moment and I implement a Summoner Tower. After building the tower and after an upgrade the Life Points of that tower is set to 99%. This tower has an autocast (based on Heal), which is healing himself by 0 points. Every time the autocast is casted a trigger creates a unit. This works fine with the first level of the tower. After upgrading the tower the autocast is still active but the tower don't cast it anymore. I have to cast the first time manually before it works again.
If I deactivate the autocast before I upgrade and activate it again, everything works fine...

Is there any such known bug with autocasts? I couldn't find anything about something like that.

Best Regards,
David
 
Okay found the solution. I needed both of your replys for that.

When I cast it manually via trigger, the problem is that the cooldown is still existent after the upgrade. So I tried to remove the abillity, add it again and turn on the autocast. Then I had the same problem as before. I had to cast the abillity manually after that and then everything works fine.

Here is the trigger:

  • SummonerSetLife
    • Ereignisse
      • Einheit - A unit Vollendet den Bau
      • Einheit - A unit Vollendet einen Ausbau
    • Bedingungen
      • Or - Any (Conditions) are true
        • Bedingungen
          • (Unit-type of (Triggering unit)) Gleich Summoner Tower 1
          • (Unit-type of (Triggering unit)) Gleich Summoner Tower 2
          • (Unit-type of (Triggering unit)) Gleich Summoner Tower 3
    • Aktionen
      • Einheit - Set life of (Triggering unit) to 99.00%
      • Einheit - Remove Summon from (Triggering unit)
      • Einheit - Add Summon to (Triggering unit)
      • Einheit - Order (Triggering unit) to Menschen-Priester - 'Heilen' aktivieren
      • Einheit - Order (Triggering unit) to Menschen-Priester - 'Heilen' (Triggering unit)
Sorry for the german parts in the code :/

Thanks for your help :)
 
Last edited:
Status
Not open for further replies.
Back
Top