[Solved] Unit comparison error
So... debug message do not appear. I'm building Ore Mine, and it competes, but debug message is not showing...
Have to use
-
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
Last edited:



