HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help

01-14-2004, 12:48 AM#1
sov_marksman
Hi, how do i do this - kill all wisps that belong to a player?
01-14-2004, 01:41 AM#2
zotax
Code:
Pick every unit in units in units owned by player X matching condition:
unit type=wisp and do action kill picked unit.
01-14-2004, 02:21 AM#3
Eriond
That's a little unclear and there's an easier way to do it, here: I'll just clear it up a bit:

Code:
Unit Group - Pick every unit in (Units owned by Player X of type Wisp) and do (Actions)
    Loop - Actions
        Unit - Kill (Picked unit)
01-14-2004, 03:26 AM#4
sov_marksman
thanks :D
01-14-2004, 04:08 AM#5
zotax
Cant you do it without the loop?
01-14-2004, 04:39 AM#6
danny760311
Impossible, I think.

Kill a mount of Wisp requires loops...