HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help appreciated for noob

06-09-2009, 09:19 PM#1
Dooblivion
Hey
I've been exploring a bit of WE and can easily find my way around triggers and all the advanced settings but... I cannot for the hell of me find a trigger to represent this:


Event
Unit dies

Conditions
Unit=Demolisher
Demolishers on the map=0 <-------- that's what I can't find

Actions
Team1 wins

Help would be rewarded with a TY!
06-09-2009, 09:26 PM#2
darkwulfv
It's an integer comparison: Count units of type for Player (or something similar), and then give it the unit you want to count (Demolishers, in your case). Just compare that to 0.
06-09-2009, 09:32 PM#3
Dooblivion
Thanks :)

It was in arithmetic but I still give you a TY