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

Adding Abilities Problem

Status
Not open for further replies.
Level 8
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:

  • 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
Help would be greatly appreciated.

Also, could someone tell me what the most powerful available map editor is?
 
Level 11
Joined
Sep 1, 2006
Messages
443
I don't know much about this stuff (man i say this too much), but i think it is the way you set up the trigger, if the person was to the drop the gun, would the skill dissapear, if so then i don't think you can level it up if it isn't a permenant item\skill, am i right about this?

(The most powerful editor varies for some people, but the one many people use is WEU Unlimited http://www.wc3campaigns.net/tools/weu/
 
Level 8
Joined
Sep 15, 2006
Messages
426
another question...

Alright, I managed to find a way around the issue of changing ability, but I have a new problem. I need to use a trigger to increase and decrease the attack range of my unit. I tried using the range increase with WEU, but it didn't seem to do anything. A little help?
 
Status
Not open for further replies.
Top