Disable Ability Trigger (for computer players)

Status
Not open for further replies.
Level 11
Joined
Feb 11, 2007
Messages
423
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.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
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.
Top