• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[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.
 
Level 4
Joined
Aug 4, 2008
Messages
76
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.
Top