• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Disable Ability Trigger (for computer players)

Status
Not open for further replies.
Level 11
Joined
Feb 11, 2007
Messages
422
This should be pretty simple, but i cant figure it out. I need a basic GUI trigger that will prevent a computer player from using an ability.

The ability is a morphing ability that removes the unit from the map and replaces it with another. Since it's an entirely different unit, the hp is refilled. Computers spam this ability, making them invincible. I would simply base it off a morphing spell, but unit sound and animation change triggers I have made prevent this.

So basically, just need a trigger that prevents computer players from activating the ability.

Please help!

Thank you.
 
Disabling will be tough, since enabling/disabling is not made with triggers, but in Ability Properties. The only thing you can do is negate all effects of the ability (which is very hard, and will still cause the current action of the to be cancelled or delayed, or you can use 'Unit - Remove ability'. I think those are the only 2 options you got.
 
Status
Not open for further replies.
Back
Top