• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Event A unit leans a skill

Status
Not open for further replies.
Level 3
Joined
Mar 29, 2011
Messages
38
  • Hands of Violent
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Hands of Violent
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
        • Then - Actions
        • Else - Actions
In "actions", how can i check the level of that ability?
 
Level 7
Joined
Dec 26, 2010
Messages
401
  • Hands of Violent
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Hands of Violent
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Hands of Violent for (Triggering unit)) Equal to 1
        • Then - Actions
          • Your Actions here
        • Else - Actions
Under the if conditions, it's an integer comparison.
 
Status
Not open for further replies.
Top