1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Hero problem on self-made map.

Discussion in 'World Editor Help Zone' started by Szaburo, Sep 25, 2019.

  1. Szaburo

    Szaburo

    Joined:
    Sep 21, 2015
    Messages:
    9
    Resources:
    0
    Resources:
    0
    Hey Guys! I made a big map, with a lot of changes, to make an epic battle. I made, to every hero can level up to 20 and I added another level to every skill they had and I gave every hero attribute bonus, just like the bonus campaign. My problem is, the heroes controlled by the computer don't use their skills at all. Not even the deafult ones. I can't figure out how to fix the problem. Any ideas?
    Thanks in forward! :)
     
  2. ShadowFlare

    ShadowFlare

    Joined:
    Jun 30, 2008
    Messages:
    552
    Resources:
    0
    Resources:
    0
    Welcome!

    No worries, common starting problem when wanting to create your own custom maps, regarding to AI.

    I would recommend this tutorial for a good starting spot:

    AI Editor, a graphical tutorial - Wc3C.net

    Good luck with your project!

    Edit: Another option would be to use custom code, if you are new you can also check out tutorials on GUI here on the Hive.
     
  3. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,520
    Resources:
    1
    Maps:
    1
    Resources:
    1
    You could the the AI to level up heroes abilities like ShadowFlare said which will be the best option imo or you could use triggers to level them up.
    • Level Blizzard
      • Events
        • Unit - A unit Gains A Level
      • Conditions
        • (Leveling Hero) Equal to Archmage 0000 <gen>
      • Actions
        • Hero - Learn skill for (Leveling Hero): Human Archmage - Blizzard
     
  4. Szaburo

    Szaburo

    Joined:
    Sep 21, 2015
    Messages:
    9
    Resources:
    0
    Resources:
    0
    Thanks a lot guys! :)
     
  5. Szaburo

    Szaburo

    Joined:
    Sep 21, 2015
    Messages:
    9
    Resources:
    0
    Resources:
    0
    Okay, it didn't quite help me. Can someone give some more specific ideas?
     
  6. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,520
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I'm little confused here. You mean the AI doesn't learn their skills or they simply don't use them even if they already learned them? If it's the latter then normally the AI will cast any spells if it's based on an ability that is auto-casted by the AI like Holy Fire, War Stomp, Blizzard, etc...
    Alternatively, you can manually order those heroes to cast their spells.
    • Unit - Order (SomeHero) to "Cast Some Spell"
     
  7. Szaburo

    Szaburo

    Joined:
    Sep 21, 2015
    Messages:
    9
    Resources:
    0
    Resources:
    0
    They don't use any of the spells or the auras.
    Could be the problem, that the map was made in 1.26 editor from the start? Because I just tried the map in 1.26 and the AI heroes used their skill...
    And I continued editing in the latest editor.
     
    Last edited: Sep 27, 2019