Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Trigger firing order
Trigger firing order
Sep 26 2007, 4:31 pm
By: NudeRaider  

Sep 26 2007, 4:31 pm NudeRaider Post #1

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

Hi guys,

does some1 know which triggers are fired first/last?

I know the game checks P1 first and P8 last.
But what about triggers for Force1-4 and All players?

Is a trigger which is for player 5 only fired before a trigger which is for force 1 (force 1 = P1-3)?




Sep 26 2007, 6:29 pm Kenoli Post #2



As far as order is concerned, the forces and all players don't exist. Any triggers assigned to them are set to players individually.
A force or all players trigger could be before or after a specific player's trigger. It just depends on how you make them.



None.

Sep 26 2007, 6:46 pm Twitch Post #3



Quote from Kenoli
As far as order is concerned, the forces and all players don't exist. Any triggers assigned to them are set to players individually.
A force or all players trigger could be before or after a specific player's trigger. It just depends on how you make them.
You are right in one way but,if you place the trigger under all players and say current player it does it for all players so yeah :P it does work.



None.

Sep 26 2007, 6:59 pm who Post #4



he never said all players triggers didn't work. he said that it acts as if those triggers were there individually assigned for each players. Current Player for all players works individually for this reason.



None.

Sep 26 2007, 7:13 pm Falkoner Post #5



The order when it comes to players isn't really going in a player order, but when you say 'All Players, or Current Player, it goes from Player 1, to Player 8, the actual order of triggers is how you order them, you can see the actual order in SCM Draft 2 if you use Trigedit, or if in Classic Trigedit you select all the players.



None.

Sep 26 2007, 7:21 pm fritfrat Post #6



Lets show through example. In all the triggers, force 1 contains players 1-3, there are 4 players, and if it says create unit x, imply it to mean "create x units, move location 2 squares to the right" so the units are in a nice line after.

1. Player 1: create 1 marine for P1
2. All Players: Create 1 hydralisk for current player
3. Player 4: create 1 ghost for P4
4. Force 1: Create 1 dragoon for all players.

This would result in (MP1 being a marine owned by player one, for example):
MP1 HP1 DP(1-4) HP2 DP(1-4) HP3 DP(1-4) HP4 GP4

Note that in SF (last time I checked atleast) and xtra you cannot tell which trigger is above or below which in the trigger order if one is under a force title and the other under the player name. In SCMDraft classic, you can ctrl+click the two owners and see how they line up, able to move them up and down, and in regular Trigedit the order's kind of obvious.


But seriously, if you have things where trigger order matters, just don't use force owners; select every player individually that you want the trigger to run for.


EDIT: Actually, random side-note. One of the only differences I can think of in using a force instead of player by player is actually if you do "create unit for force 1" it only creates the unit for the players present in force 1, whereas if you do "create unit for player 1, 2..." it creates it for every player, present or not. There are more differences, but I haven't mapped in a while and they're not coming to me right away :P Just, player owner of a trigger isn't one of these differences.

Post has been edited 2 time(s), last time on Sep 28 2007, 12:31 am by fritfrat(U).



None.

Sep 26 2007, 7:43 pm Falkoner Post #7



Current player also fixes it creating 'Ghost players'



None.

Sep 26 2007, 8:48 pm Hugel Post #8



A good trick for rearranging order in Xtra when you have some triggers for individual players and some for forces:

Temporarily share all triggers with one player or force.
Then, go into that player or force, and rearrange them the way you want.
When you unshare them, they will be in the order you just set them permenantly.



None.

Sep 27 2007, 2:04 am Falkoner Post #9



Or.. You can use SCM Draft like a smart person? Perhaps?



None.

Sep 27 2007, 4:20 am Hugel Post #10



Falkoner:

That is rude and un-called for. What editor a person wants to use is their choice, not yours. Not everyone needs to do every single little trick in the book. Don't try and force people to do things your way. I don't use SCM Draft because I don't like the way the trigger editor looks and feels. I prefer Xtra, so what.



None.

Sep 27 2007, 4:22 am Falkoner Post #11



Yes, but when you are forced to go through annoying methods to do something that can be done easily with another editor that is by far superior to the one you are using, then I'd switch to the other one.



None.

Sep 27 2007, 4:31 am Hugel Post #12



I agree that SCM Draft is a more powerful editor.
It allows you to do many things you can't with Xtra,
but not everyone even knows the base editor.
Not everyone should jump right in and use SCM Draft before getting to know the basic editor.
Its ok to give feedback on your opinions, but that doesn't make them the only correct solution.
Nor should you put down anyone else who has a different opinion.



None.

Sep 27 2007, 4:39 am Falkoner Post #13



I'm sorry for being rude, but most mappers CAN use SCM Draft from the start, I would recommend switching to it yourself, the only reason I ever used X-tra for the longest time, was because I wasn't used to the Classic Trigedit of SCM Draft, when I finally switched I was able to produce much better maps and I had no bugs from switching between editors.



None.

Sep 27 2007, 11:58 am NudeRaider Post #14

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 fritfrat(U)

1. Player 1: create 1 marine for P1
2. All Players: Create 1 hydralisk for current player
3. Player 4: create 1 ghost for P4
4. Force 1: Create 1 dragoon for all players.

This would result in (MP1 being a marine owned by player one, for example):
MP1 HP1 DP(1-4) HP2 DP(1-4) HP3 DP(1-4) HP4 GP4 DP(1-4)
What about 2. P1-4: Create 1 hydralisk for current player ?
Is it the same like 2. all players ... above?

And is it possible the last DP(1-4) is wrong? P4 isnt in Force 1 so he shouldnt create goons.




Sep 27 2007, 12:35 pm Falkoner Post #15



I think he meant 1-3.

Then you would only get 4 hydralisks, 1 for each player, instead of getting one for every player every time the trigger ran.

Post has been edited 1 time(s), last time on Dec 26 2008, 4:54 am by NudeRaider. Reason: testing my new ablities



None.

Sep 27 2007, 12:58 pm NudeRaider Post #16

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 Falkoner
Then you would only get 4 hydralisks, 1 for each player, instead of getting one for every player every time the trigger ran.
LOL, dont confuse me... Its the dragoons which are placed 3 times 4 pieces. Hyds (with all players) are placed 4 times 1 piece.
That doesnt change when I click 4 players individually.
It won't probably even change trigger order. Just wanted to be sure of that.

Quote from Falkoner
I think he meant 1-3.
Its wrong too. 3 players place 4 goons, not 4 players place 3




Sep 27 2007, 1:55 pm Ahli Post #17

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from NudeRaider
does some1 know which triggers are fired first/last?
I know the game checks P1 first and P8 last.
But what about triggers for Force1-4 and All players?
1. Select every Player and Force and 'All Players' in the classic trigedit of scmdraft 2.

2. Now you see every trigger in the map and their trigger order.

3. The triggers are checked from up to buttom.

4. In Forces or 'All Players' or 'triggers for multiple Players' the Trigger of P1 will fire first, then the one of P2, P3, P4, ...

5. The trigger order between the different triggers can be changed. Just click on a trigger and move it up or down in the list.




Sep 28 2007, 12:33 am fritfrat Post #18



Ya, sorry, I forgot that I didn't include p4 in force1. I edited it accordlingly by getting rid of the last 4 goons. Not that it matters for the purpose of trying to show trigger order :P

And jesus, someone close this topic.



None.

Sep 28 2007, 12:55 am Akar Post #19



As far as I'm concerned, all players execute their triggers at the same time.



None.

Sep 28 2007, 1:30 am Falkoner Post #20



Depending on what system you are doing, that philosophy could get you quite a few bugs.



None.

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, Roy