• 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.

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