- Joined
- Sep 15, 2006
- Messages
- 426
I'm working on a map right now that uses triggers to add and remove hero abilities. My problem is that I can add the ability, but it doesn't show up on the hero abilities screen, so the hero can't level the ability up.
My trigger looks like this:
Also, could someone tell me what the most powerful available map editor is?
My trigger looks like this:
-
Assult Rifle
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-


(Item-type of (Item being manipulated)) Equal to |CFFDE0008Gun|r - Assult Rifle
-
-

Actions
-


Item - Remove (Item being manipulated)
-


Unit - Remove currentgun[(Player number of (Owner of (Hero manipulating item)))] from (Hero manipulating item)
-


Unit - Remove currentROF[(Player number of (Owner of (Hero manipulating item)))] from (Hero manipulating item)
-


Unit - Add Assult Rifle to (Hero manipulating item)
-


Hero - Learn skill for (Triggering unit): Assult Rifle
-


Set currentgun[(Player number of (Owner of (Hero manipulating item)))] = Assult Rifle
-


Unit - Add Speed-180 to (Hero manipulating item)
-


Set currentROF[(Player number of (Owner of (Hero manipulating item)))] = Speed-180
-
-
Also, could someone tell me what the most powerful available map editor is?



