HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Building Dies VS Building Canceled

07-01-2003, 02:11 AM#1
MiCroSlave
How can I tell the difference?

I want to have a trigger fire depending on if a building is finished construction, or still being constructed.

Right now, I have two triggers:
Event: Unit Dies
Action: Display "Dead"

Event: Unit Cancels Construction
Action: Display "Cancelled"

I fire up my map, start building a building, cancel it, and I get the first triger, "dead" is displayed.

Is there a condition type or something for this?

Using a "Unit Life = 100% "condition won't work.

Thanks
07-01-2003, 03:36 AM#2
c0nnick
Perhaps when it is cancelled it dies too, try this

If building is cancelled display cancelld

If building dies and isnt cancelled display dead
07-01-2003, 07:47 AM#3
Dead-Inside
In other words

Condition: Building not equal to canceled.
07-01-2003, 12:15 PM#4
piRo-piOn
use triggering unit is canceled.