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

Unit gets Ability with item

Status
Not open for further replies.
Level 3
Joined
Dec 14, 2007
Messages
44
How do you make it so that if a unit gets an item he gets an ability?

like in custom hero survival?

I appreciate any help anyone might have.

Thank you.:wthumbsup:
 

.KC

.KC

Level 8
Joined
Dec 10, 2007
Messages
118
I dont know how much knowledge you have in GUI or JASS.
But you make an item and ability in object mannager.

Item = Storm Bolt
Ability = Storm Bolt

Then make a trigger thats checks if the unit use an item, and check if the item is "Storm Bolt". If so, remove the item and add the ability "Storm Bolt" to the unit.
 
Status
Not open for further replies.
Top