Staredit Network

Staredit Network -> UMS Assistance -> Switch Problem
Report, edit, etc...Posted by TheHappyHobo on 2006-07-15 at 13:36:58
Situation:
In a map I made, there are several places where you walk into a room, and a burrowed lurker is created in the room every couple of seconds (it attacks you, and the longer you wait and be stupid, the more damage you'll suffer.) They rely on switches. (Cond: Current Player brings at least 1 marine to location, Act: Set Switch, then Bring zero, clear switch.)

Problem:
The trap only works for the last player in the game (For example, you're playing with 5 players, the trigger only works if player 5 walks into the room. If there are 3 players, only player 3, etc., etc.) The trigger looks like this:

null
Trigger
Players:
¤ Players 1, 2, 3, 4, 5, 6
Conditions:
¤ 'Lurker 1' is Set
Actions:
¤ Create 1 Lurker at (location) for Computer. Apply properties (burrowed)
¤ Wait 2300 milliseconds
¤ Preserve Trigger


If you can help, that'd be great. Thanks in advance.
Report, edit, etc...Posted by Kenoli on 2006-07-15 at 13:47:52
What are the conditions for setting the switch?
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-15 at 13:56:54
Well, you ought to be having more than 1 lurker created per trigger cycle, since that trigger runs once for each player. I'm not sure what's causing your problems, but try giving the above trigger to one player only and see what happens.
Report, edit, etc...Posted by TheHappyHobo on 2006-07-16 at 15:30:51
QUOTE(Kenoli @ Jul 15 2006, 12:47 PM)
What are the conditions for setting the switch?
[right][snapback]524286[/snapback][/right]


The condition for setting the switch is
"Current Player brings at least 1 marine to (location)"
Action: "Set 'Lurker 1,'" "Preserve Trigger."
Clearing it is basically the same except with exactly 0 marines and, needless to say, "Clear 'Lurker 1."

I noticed that the player settings would probably cause a problem with the creation (and I'm pretty sure it does, too...). But I still don't really understand why it might only apply to that last player...

I'll try that setting it to one player deal. I had it set like that, but I was recreating 6 triggers every time (well..copying and pasting...) and it became quite tedious. It was really laziness that possessed me to go with selecting all the players individually. In the meantime, maybe someone will figure out what's going on with those blasted switches... confused.gif (or maybe I'll suddenly become good at map making and figure it out myself...)

ADDITION:
QUOTE(DT_Battlekruser @ Jul 15 2006, 12:56 PM)
...try giving the above trigger to one player only and see what happens.
[right][snapback]524294[/snapback][/right]


I tried and got the same result. I think the creation problem was solved, but that didn't bother me too much. I can't figure out why the switches would only work for that last player... confused.gif
Report, edit, etc...Posted by OverTheBelow on 2006-07-16 at 15:44:26
Maby try giving the trigger to the human force, not individuals..
Report, edit, etc...Posted by Kenoli on 2006-07-16 at 17:21:12
QUOTE(OverTheBelow)
Maby try giving the trigger to the human force, not individuals..
That would have no effect.
Next Page (1)