Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Force 1 VS Player 1,2,3,4...
Force 1 VS Player 1,2,3,4...
Jan 28 2008, 11:54 am
By: fm47  

Jan 28 2008, 11:54 am fm47 Post #1



What's the difference in which I check: Force 1, and Players 1, 2, 3, and 4?

It's always been vague to me.

Given all 4 players are human and in-game. To my understandings, since triggers run from top to bottom, 1 to 8, then I suppose the order of the check boxes after that, if I were to check players 1, 2, 3, and 4, and made the action to create 2 units, it would run through it for player 1, then 2, then so on, until all 4 players' scripts have been run, spawning 8 total units.

While if I click on Force 1, it would simply run it through once, resulting in spawning only 2 units.

So that's my guess, am I on or WAY off?



None.

Jan 28 2008, 10:17 am y10k Post #2



Triggers owned by Force will be added to the end of the players' triggerlist who exist in that force.
P1-P8 sequence will still remain. Force cant execute triggers.



None.

Jan 28 2008, 11:26 am Falkoner Post #3



They are virtually the same thing, you just do one or the other based on how you want it organized, and I don't know what you're talking about, how a force cannot run triggers, since they can..



None.

Jan 28 2008, 11:27 am Falkoner Post #4



Whoa! My post jumped above yours... For some reason yours is stuck at 1 second..



None.

Jan 28 2008, 11:39 am NudeRaider Post #5

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

Quote from y10k
Triggers owned by Force will be added to the end of the players' triggerlist
That's not true. Force triggers can be executed before P1's triggers. Just mark each player and force and move the triggers in the desired order.
The only "problem" with that is, that a trigger owned by P8 can be first in the list, but still will run AFTER P1's triggers.

As Falk said, checking Force1 is completely equal to checking the players of that force individually.




Jan 28 2008, 12:01 pm y10k Post #6



No, just not.

You have P1 and P2 in force1.
Your triggers are :
P1,P2:
Trigger C
P1:
Trigger A
P2:
Trigger B
F1:
Trigger D

Triggers will be run like this : C,A,D - C,B,D
The triggers with multiple owners will run 1st and the ones owned by Forces will do at last. I made some tests and found out this.
C will run at 1st no matter where they are placed in the trigger list, and force triggers run at last.



None.

Jan 28 2008, 12:57 pm Falkoner Post #7



Yeah, because you created the triggers in that order, what editor were you using when you made it? The running order depends on where they are in the trigger list, not what player they run for.



None.

Jan 28 2008, 3:08 pm y10k Post #8



You might be true, I use scmd2 and used move triggers down in list, assuming it will run that one at last time.



None.

Jan 28 2008, 4:50 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

Actually I even started a topic about trigger firing order a while ago.
Many people posted their "opinions", so I ran a few tests to find out the truth.
And you can believe me when I tell you something about that. :P




Jan 29 2008, 1:35 am Moose Post #10

We live in a society.

Triggers owned by a Force, Player, and All Players can run interchangably throughout a trigger cycle. In terms of trigger order, forces/all players will function identically as if the triggers were owned by each player or players in that force. They are organized into seperate areas in Staredit's trigger editor, but that does not matter when determining trigger order. Use SCMDraft2's text triggers if you want to see the true "order" of triggers. Their position as seen there is what matters.




Jan 29 2008, 1:48 am chuiu Post #11



^
Basically, the order you MAKE triggers (assuming you haven't moved them up or down the trigger list) is the order they run.



None.

Jan 29 2008, 2:02 am Falkoner Post #12



Quote
Use SCMDraft2's text triggers if you want to see the true "order" of triggers. Their position as seen there is what matters.
Or you can use Classic Trigedit and just Shift Click the players and forces you want to show, and it will show the order.



None.

Jan 29 2008, 2:09 am Moose Post #13

We live in a society.

I should try using that thing sometime. LOL.




Jan 29 2008, 2:14 am DT_Battlekruser Post #14



Quote
What's the difference in which I check: Force 1, and Players 1, 2, 3, and 4?

The important difference is that if you set Players to "Force 1" the trigger is bound to the force instead of the players, so changing the contents of the force will change the players the trigger runs for.



None.

Jan 29 2008, 6:46 am fm47 Post #15



Ok, so let me make sure I'm understanding this.

Triggers assigned to multiple players will run first, then the individually assigned ones, then the force ones?

And, for example, there's a part in my map where an NPC will bring all the players into an area, and also generate some other units to look like bystanders. How I did it was that I placed a few burrowed units within a location with the NPC in the middle. The burrowed units consist of a burrowed zergling to indicate where players will go, and hydralisks to indicate where the NPC bystanders will go.

When the trigger fires, it will bring all the players to the burrowed zerglings, and create NPC bystanders on the hydralisks. After each burrowed unit has a unit on top, the burrowed unit is deleted. So i have about 4 npcs that need to be spawned, but is it because it is in forces that it creates more than units than it is suppose to when there are multiple players in the game?



None.

Jan 29 2008, 9:39 am y10k Post #16



Quote from fm47

Triggers assigned to multiple players will run first, then the individually assigned ones, then the force ones?

I think i was just wrong with that.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy, Ultraviolet