• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

integer ability level Condition not working? error with 1.29 maybe?

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
The integer check you do to see if a unit has ability doesnt seam to be working on the map im working on

e.g if level of ability greater then 0 for unit means it has the ability

is any 1 else having this issue or am i missing somthing ?

  • Agressive Damage
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (Level of Stance Agressive for DamageEventSource) Greater than 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Agressive Damage for DamageEventSource) Not equal to 21
        • Then - Actions
          • Unit - Set level of Agressive Damage for DamageEventSource to ((Level of Agressive Damage for DamageEventSource) + 1)
          • Unit - Set level of Attack Speed Bonus (Agressive Stance) for DamageEventSource to ((Level of Attack Speed Bonus (Agressive Stance) for DamageEventSource) + 1)
        • Else - Actions
 
Status
Not open for further replies.
Top