Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Trigger doubling problem
[SOLVED] Trigger doubling problem
This topic is locked. You can no longer write replies here.
Oct 6 2011, 2:56 am
By: IcY  

Oct 6 2011, 2:56 am IcY Post #1

Cruisin' on that LSD

So I have a map that when played alone, works great, but when played with 2 or more players, the triggers double for each person. So if one zealot spawns, there is one human player. If two zealots spawn that means there are 2 human players. I don't like this, I want just one zealot to spawn no matter what... Why are my triggers adding more per human player?




Oct 6 2011, 3:09 am Roy Post #2

An artist's depiction of an Extended Unit Death

You have a trigger owned by more than one player. This commonly happens when you improperly place a trigger for an entire force, causing it to run once for every player in the game.

Your spawn trigger should probably be owned by a single computer player. Or, if the trigger is supposed to create units for each player in the force, you should keep the trigger owned by the force, and instead change the "Create Unit" action to create for "Current Player."




Oct 6 2011, 3:10 am TiKels Post #3



It's because you have the trigger listed under "Force 1" or "All players" (or another force) most likely.

Each of these runs an extra time for each player under the section. So with 8 players "all players" would run 8 times.

If i remember correctly anyway... it's been awhile.

EDIT: NINJA'D BY 21 SECONDS ROY!!



"If a topic that clearly interest noone needs to be closed to underline the "we don't want this here" message, is up to debate."

-NudeRaider

Oct 6 2011, 3:28 am IcY Post #4

Cruisin' on that LSD

Actually I checked and the triggers and the one that spawns levels (one of the problem spots) is actually for just player 8. Another problem happened also with one of the sets of triggers created later and not earlier in production although they are the same exact trigger, they function differently. I wonder if this is corruption....




Oct 6 2011, 3:42 am Roy Post #5

An artist's depiction of an Extended Unit Death

It's not corruption (it's actually a common mistake). If you post the triggers in question and/or the map, we can find the issue quickly.

My guess is that it's a trigger you have under a Force or All Players.




Oct 6 2011, 4:36 am Oh_Man Post #6

Find Me On Discord (Brood War UMS Community & Staredit Network)

It is the combination of preserve trigger and using Forces.
Try putting a DC or switch that requires it to be CLEAR in the condition and then in action put it on SET.




Oct 6 2011, 4:47 am Sacrieur Post #7

Still Napping

You wouldn't be able to play a corrupted map.



None.

Oct 6 2011, 8:11 am Lanthanide Post #8



This may help, from the old wiki: http://www.staredit.net/?p=oldwiki&s=143

Note that the information repeats 3 times, just stop once you get down to the first green box that says "Triggers: The Fundamentals".



None.

Oct 6 2011, 1:05 pm NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Roy has a solid lead as to what to look for in your triggers. Another possibility is your P8 trigger creates units for All Players or a force.




Oct 6 2011, 4:18 pm IcY Post #10

Cruisin' on that LSD

I would like for someone to test with me so I can show you in the game. Please contact me asap, My sc account is IcY-@useast. On the next reply ill try n be quick as to reduce the waiting time for the tester and myself. Please some1 who can help post back and let me know when is a good time for you to help




Oct 6 2011, 4:29 pm Oh_Man Post #11

Find Me On Discord (Brood War UMS Community & Staredit Network)

Come to channel donuts




Oct 6 2011, 5:56 pm IcY Post #12

Cruisin' on that LSD

Solved by Oh_Man
Thanks again!




Oct 6 2011, 6:02 pm Oh_Man Post #13

Find Me On Discord (Brood War UMS Community & Staredit Network)

NP. For those curious, the create units trigger was P8, but the condition for the P8 trigger was a DC that was modified by a Force 1 trigger.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
Please log in to shout.


Members Online: Ultraviolet, Roy, NudeRaider