Warcraft III resources & community, 2003–2006 · archived

Please help! Small problem creating a condition

4 posts
#1

Please help! Small problem creating a condition

I'm designing a frenzy-style map that will have some very neat new features that will make it specially different from any other map.

That said, I can't for the life of me figure out what condition to choose to set up a simple condition in the trigger editor that looks like this:

(Select Player) owns a Barracks. Any barracks. Just needs one. Not (select player) owns (specific unit).

Can this be done and how? Thanks in advance.
#2
It should look like this...



Event
What you want

Conditions
[Player] owns a Unit of type Barracks
...

Actions
What you want



It basically looks like this. Choose the [Player-Player owns a unit of type *Unit-type*] Condition.
#3
(Integer comparison)
_ (Unit - Count Living Units Owned By Player)
_ _ (Barracks)
_ _ (Player you want)
(Greater than or equal to)
(1)
#4
Thanks a bunch! Your suggestion fixed my problem and I have got it working now.