• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Condition: activated/deactivated

Status
Not open for further replies.
Level 2
Joined
Dec 30, 2006
Messages
11
Hello everyone,

I'm looking for a condition that checks whether a spell (modified Essence of Blight in my case) is activated or deacivated so that my trigger only runs if the spell's autocast is activated. I didn't find the option in the editor yet, so i decided to post here.
Does something like it exist in WE or do i have to use JASS?

PS: Morphling's Morp ability in DotA works more or less the same way: manual casting does nothing, however, the attributes get swapped if its activated. So there must be a function im looking for.
 
Level 16
Joined
Oct 30, 2004
Messages
1,277
Event - Unit is issued an order without target
condition - Issued order equal to String(immolationon)
Actions - Game display for 5 sec to all players "Immolation is activated :p"

In my example I use immolation. Replace the immolationon with the order string of your spell.
 
Status
Not open for further replies.
Top