HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Mecenary Camps != structure?

08-22-2003, 01:11 PM#1
Catalyst
I have a trigger which requires no nearby units to spawn a group of units.

I have used the condition:
if number of units within X distance of region matching( unit (picked unit) is structure = false) = 0.

However, creeps do not spawn near mercenary camps, regardless of this condition.

Any ideas why?

I know that merc camps are classed as buildings... so what is the deal?

Cheers

Cata
08-22-2003, 05:46 PM#2
element_5
Picked Unit only works inside of a "Pick Every..." action. Unless your condition is part of an If...Then...Else block nested inside a "Pick Every..." statement, it's not going to work
08-22-2003, 08:09 PM#3
LunarCrisis
Simple fix: use matching unit, not picked unit. I had the same problem a month ago. I was bashing my head on the wall when I finally figured out why.