• 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.

Disable ability when holding items

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Hopefully this isnt to hard a problem to solve, but basicly when you hold a certain item/type is it possible to disable specific abilitys and other items from working???thanks
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
you could set techtree requirements as a certain building for the abilities and remove the building when the item is picked up then place a new one when it's dropped
 
Level 7
Joined
Dec 8, 2005
Messages
319
no easier way

event is
when unit acquires an item
condition
item comparison
action
unit disable "ability"


(if unit does not have ability then it cant disable it! it all works out! =P)
 
Status
Not open for further replies.
Top