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

Repair spell when having item in inventory

Status
Not open for further replies.
Level 3
Joined
Mar 1, 2015
Messages
53
How can I make my hero able to repair buldings when he wears a specific item?
Tried adding repair spell(item ability enabled) into a item.
 
Level 6
Joined
May 20, 2014
Messages
228
You have to trigger it, checking whenever an unit picks up the repair item and then add the repair ability to it. You will need to also make another trigger checking if the unit drops that item and then remove the ability.
 
Level 3
Joined
Mar 1, 2015
Messages
53
Ok and how can I hide the icon of repair?
If I do the spellbook method I am not able to repair buldings....
 
Status
Not open for further replies.
Top