• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Learning abilities through item purchase

Status
Not open for further replies.
Level 3
Joined
Mar 30, 2007
Messages
26
Okay, I'm trying to make units learn abilities, but here's the problem: they're not heroes (Is that a big issue?)

Here's a really simple trigger I'm trying to use:

Events -
A Unit Uses an Item

Actions -
IF (Item-type of (Item being manipulated)) Equal to Freezing Arrow) then do (Unit - Add Freezing Arrows to (Hero manipulating item)) else do (Do nothing).

NOTES:
1. Freezing Arrow(item) and Freezing Arrows(ability) are different
Freezing Arrow works like Tome of Power (It is diminished when bought, but has no effect).
What I'm trying to do is make a regular unit buy an item and make it learn an ability by doing so. My problem is, the item functions are only provided for heroes.

So far, this trigger is not working.
Help, thanks. ;)
 
Status
Not open for further replies.
Top