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

[Trigger] Force Unmorph

Status
Not open for further replies.
Level 3
Joined
Dec 31, 2008
Messages
46
In the map, I have a metamorph skill that has an unlimited duration.

The duration is being controlled by a 2 variables(One increases to 10, and the other increases to 7, when the first hits 10 it becomes 0 and the 2nd gains 1. As long as the 2nd isn't 7 (I have the variable increasing and decreasing working right.)) But I want it so that when the first variable becomes -1 then the metamorph is forced to revert back to the normal. I do not know what action to use.

I have been trying to make this happen for about 4 hours and I have not figured it out. I would like to know if anyone has had this problem or knows how to fix it.

FIXED

  • Auto Revert
    • Events
      • Game - DriveOrb becomes Equal to -1.00
    • Conditions
      • DriveGauge Equal to 0.00
    • Actions
      • Set SoraValor = False
      • Unit Group - Pick every unit in (Units of type Key Bearer (Valor)) and do (Actions)
        • Loop - Actions
 
Last edited:
Level 13
Joined
Sep 29, 2008
Messages
672
What metamorphosis are you using? How about robo-goblin from tinker?

  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Robo-Goblin
  • Actions
    • Set caster = (Casting unit)
    • Wait 5.00 seconds
    • Unit - Remove Robo-Goblin from caster
    • Unit - Add Robo-Goblin to caster
    • Unit - Order caster to Neutral Tinker - Deactivate Robo-Goblin
I know this is inappropriate but Its just a thought. The wait represents the integer that when it sets to -1 it will revert back. I thought to reset the cooldown of the ability by removing it then adding it again. but after the reverting I find its cooldown refreshed after it reverts back.
 
Status
Not open for further replies.
Top