• 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] Disabling a skill

Status
Not open for further replies.
Level 17
Joined
Jul 15, 2009
Messages
632
So, I have this skill that uses a dummy skill to change it.
More detailed : a devotion aura that can be switched between giving a armor buff to allies and a armor debuff to enemies.
But when it switches from e.g. buff to debuff, the hero is able to learn the debuff skill again.

Is there a way to disable that?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
The time for it to change from (+) to (-) has some slight delay, but that won't be a problem :)
But from (-) to (+), there's no delay at all
You forgot to set Boolean Variable when the unit learns that skill
I have edited your map, check it out

EDIT:
It can be bugged if you Learn the skill while you're in the (-) form because natural form is (+)
I'm lazy to fix this, haha

EDIT 2:
Fixed that bug
Also, (-) increases linearly with (+)
 

Attachments

  • PaladinAura.w3x
    20.2 KB · Views: 46
Last edited:
Status
Not open for further replies.
Top