HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick trigger question...

02-10-2004, 01:45 PM#1
Zarniwoop
I feel like a newbie when I ask this, but I didn't manage to do it myself.

The problem I have is that I can't find a working event...
what I want is, basically:
Event: player# controlls less than 10 units in region# - do (actions)

But I can't find anything that works! Help!
02-10-2004, 01:49 PM#2
Vexorian
Quote:
Originally posted by Zarniwoop
I feel like a newbie when I ask this, but I didn't manage to do it myself.

The problem I have is that I can't find a working event...
what I want is, basically:
Event: player# controlls less than 10 units in region# - do (actions)

But I can't find anything that works! Help!


Well the thing is that blizzard didn't make an event for every single case so sometimes you have to find a workaround

Event
A unit leaves rect002
Condition
(Count units in (rect002) owned by (owner of Triggering Unit) less than 10
Actions:
Game Text message to (all players) "The player controls less than 10 units in that rect"
02-10-2004, 02:12 PM#3
Zarniwoop
Yes, I know, I was looking for a solution of any kind...

And you helped me! Thanks alot!


EDIT: Oh.. now I see, I forgot to write "Conditions"...