• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] I'm stuck :X

Status
Not open for further replies.
Level 4
Joined
Aug 4, 2008
Messages
76
Hi all,
I would like to make a hero learn a UNIT ability(normal ability) when he picks a certain item.I've searched more of the triggers but they're only for hero abilities :/ Any ideas?
 
To learn a unit ability is impossible. But you can ADD the ability to the unit:
  • Event
    • Unit - A unit acquires an item
  • Condition
    • (Item Being Manipulated) equal to YourItem
  • Actions
    • Unit - Add YourAbility to (Triggering Unit)
And to remove it, if you want, when the unit loses the item, just change the event to Loses an item and the action to Remove Ability.
 
I did this:
Event:Unit acquires an item
Conditions:item being manipulated equal to Last dropped item(coz it will drop from a mob)
Actions:Unit - Add *myability* to Hero manipulating item


It doesn't work though :/ Am I doing anything wrong?
 
Status
Not open for further replies.
Back
Top