HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Simple Trigger Problem

11-11-2003, 06:42 PM#1
Eriond
Very strange trigger problem. It's a very simple trigger, but I don't know what's wrong with it?

Code:
EVENTS -
Time - Elapsed Game Time is 0.10 Seconds

ACTIONS-
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is unused)) and do (Actions)
    Loop - Actions
        Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Unit - Remove (Picked unit) from the game)
        Set Hasleft[(Player number of (Picked player))] = True

What's wrong?
11-11-2003, 07:07 PM#2
Vexorian
instead of "matching player slot status equal to is unused" use

"matching player slot status not equal to is playing"
11-11-2003, 08:52 PM#3
Eriond
I did that, it still didn't work.

EDIT: Erm , ok i changed it back and now it's working.... wonder why?

EDIT2: Hmmmmmmm..... It's not actually, the first time, I forgot to change it to is playing so it was not equal to is unused..... I just realized that, changed it, but now It's not working again..
11-11-2003, 09:27 PM#4
FerretDruid
^^ Hehe, that's funny. You know, I just got a custom aura to stack with the aura it was based on... But, it stopped working and I can't figure it out why either. I think the WE may be a tiny bit buggy now and then
11-12-2003, 09:51 AM#5
theJ89
I have had the same problem, but I don't understand why. Hold on, Ill patch you through a solution if at all possible.
11-12-2003, 09:54 AM#6
theJ89
the problem may be that you have two loops in your action. A player group loop and a unit group loop. Instead do this:

Pick Every Unit in Playable Map Area Matching ((Owner of (Matching Unit) slot status) equal to is unused) and do (Remove Picked Unit from the game)
11-12-2003, 09:54 AM#7
theJ89
And with only one loop
11-12-2003, 10:16 AM#8
AllPainful
I believe the reason this does not work (trust me, I had the same problem and fixed it...) is because when you run a "Pick all players" it does NOT pick players who aren't in the game...

So just do as was suggested by theJ89 (who doesn't seem to know what an edit button is...) and do a "Pick all units" instead.