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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: zzt