Problem with learning skills for heros

jan

New Member
Reaction score
0
Im trying to make a map like Custom hero arena but i'm having problem with learning that skill after entering a region.

So here are the Triggers:

Trigger:
  • Set SkillItem[1] = Buy Avatar

its a custom item i made
Trigger:
  • Avatar Copy
    • Events
      • Unit - A unit enters finallygetskill <gen>
    • Conditions
    • Actions
      • -------- 1 --------
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to SkillItem[1]
            • Then - Actions
              • Hero - Learn skill for (Triggering unit): C-Avatar
              • Game - Display to (All players) the text: test
              • Item - Remove (Item carried by (Triggering unit) of type SkillItem[1])
            • Else - Actions


C-Avatar is a custom ability i made if u havent figured it out already.

Im having a problem, that when a hero enters "finallygetskill" with 1 skill point i still have not learned that ability
 

jig7c

Stop reading me...-statement
Reaction score
123
the hero has that skilll right?

if not... trigger it so it'll give the hero the ability, and then level it up
 

Light Alkmst

New Member
Reaction score
20
he's right. the hero has to have the ability first. hero learning skill just levels up that skill by 1. if the hero doesn't have it yet, add the ability to the hero
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top