• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Help in making the 3rd skill of kardell in DoTA

Status
Not open for further replies.
  • Take Aim
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Take Aim
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Take Aim for (Learning Hero)) Equal to 1
        • Then - Actions
          • Player - Set the current research level of Take Aim to 1 for (Owner of (Learning Hero))
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Take Aim for (Learning Hero)) Equal to 2
            • Then - Actions
              • Player - Set the current research level of Take Aim to 2 for (Owner of (Learning Hero))
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Take Aim for (Learning Hero)) Equal to 3
                • Then - Actions
                  • Player - Set the current research level of Take Aim to 3 for (Owner of (Learning Hero))
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Take Aim for (Learning Hero)) Equal to 4
                    • Then - Actions
                      • Player - Set the current research level of Take Aim to 4 for (Owner of (Learning Hero))
                    • Else - Actions
Just make an upgrade base on Long Rifle then edit it.
 
Hopefully his map has 1 unit-type of that unit per player, else, the trigger will bugged (not MUI).

Also, you should change the (Owner of (Learning Hero)) to (Triggering player), calls less function, works the same.

Also, (Triggering unit) == (Learning Hero), if you use (Triggering unit), it is faster call than (Learning Hero) because (Triggering unit) is the native response.
 
Oh...
I don't have enough knowledge abou triggers, can you make it in a map and i will copy it only in my map.
plss
Take Aim
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Take Aim
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Take Aim for (Learning Hero)) Equal to 1
Then - Actions
Player - Set the current research level of Take Aim to 1 for (Owner of (Learning Hero))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Take Aim for (Learning Hero)) Equal to 2
Then - Actions
Player - Set the current research level of Take Aim to 2 for (Owner of (Learning Hero))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Take Aim for (Learning Hero)) Equal to 3
Then - Actions
Player - Set the current research level of Take Aim to 3 for (Owner of (Learning Hero))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Take Aim for (Learning Hero)) Equal to 4
Then - Actions
Player - Set the current research level of Take Aim to 4 for (Owner of (Learning Hero))
Else - Actions
Just make an upgrade base on Long Rifle then edit it.
 
Here ya go. Nice & Simple.. Just copy the upgrade, ability and trigger.

  • Take Aim
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Take Aim
    • Actions
      • Player - Set the current research level of Take Aim to (Level of Take Aim for (Triggering unit)) for (Owner of (Triggering unit))
Edit: Forgot to change the player.. My bad. Fixed now.
 

Attachments

Status
Not open for further replies.
Back
Top