• 🏆 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!

Unit comparison error

Status
Not open for further replies.
Level 2
Joined
Aug 6, 2009
Messages
21
[Solved] Unit comparison error

  • Events
    • Unit - Any Unit construction is Completed
    • Local Variables
    • Conditions
    • Actions
      • General - If (Conditions) then do (Actions) else do (Actions)
        • If
          • (Unit type of (Triggering unit)) == Ore Mine
        • Then
          • UI - Display "debug" for (All players) to Subtitle area
          • Variable - Modify VespGasYeld[(Owner of (Triggering unit))]: + VespGasAdd
        • Else

So... debug message do not appear. I'm building Ore Mine, and it competes, but debug message is not showing...

Have to use
  • Unit - Any Unit creates a unit with Any or Any
instead of Unit - Any Unit construction is Completed
 
Last edited:
Status
Not open for further replies.
Top