Is there an event that detects when a skill based off of Immolation is turned off?

Chilling

New Member
Reaction score
1
The title pretty much says it all...is there a Generic Unit event option? I just can't seem to find one...
I guess I might have to use a periodic that constantly checks if you have the Immolation buff on you and if not, sets a boolean to false...in other words, more work.
 

Ryushi

"I will stand, or I will fall. I will not sit."
Reaction score
59
You can detect when the unit issues the corresponding order. For example:
Trigger:
  • trigger
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(unimmolation))
    • Actions
      • Your Actions

If you changed the Order String - Turn Off, then replace the order with whatever order you changed it to.
 

hopy

Active Member
Reaction score
64
I'm not sure about this but wouldn't:
Trigger:
  • trigger
    • Events
      • Unit - A unit Is issued an order with no target

Work as well?

And I'm not sure if:
Trigger:
  • trigger
    • Events
      • Unit - A unit Is issued an order with no target

would trigger when the unit's mana becomes 0.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
I'm not sure about this but wouldn't:
Trigger:
  • trigger
    • Events
      • Unit - A unit Is issued an order with no target

Work as well?

And I'm not sure if:
Trigger:
  • trigger
    • Events
      • Unit - A unit Is issued an order with no target

would trigger when the unit's mana becomes 0.

Your first trigger would work, but it would fire anytime a unit is issued an order with no target.

As for your second trigger, I usually use a manual mana detection system and then order the unit to deactivate immolation when the mana reaches a certain amount.

And to help with the question, the simplest way would be to detect when the unit turns on and off the ability. So you can say add a unit to a unit group when it turns on immolation, and remove it when it turns off. And do things with units in the unit group.
 

tmow

New Member
Reaction score
7
Depends, try setting the ability as a variable, and make the trigger an if then else action.
 

hopy

Active Member
Reaction score
64
Your first trigger would work, but it would fire anytime a unit is issued an order with no target.

As for your second trigger ...
I do believe the two triggers I posted were exactly the same, this was because when I first posted it it bugged out and I had to type it again. I forgot to change the trigger.

What I meant in the FIRST trigger was:
Trigger:
  • Unit - A unit stops casting an ability


Also:
Your first trigger would work, but it would fire anytime a unit is issued an order with no target.
I was just showing Events, as you might have noticed? So ofcourse he would have to add conditions.
 

Chilling

New Member
Reaction score
1
It's working fine with the Issue order with no target Order equal to unimmolation. Sorry, I forgot to let everyone know it's working!
Thanks for all of the help!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top