Staredit Network

Staredit Network -> UMS Assistance -> The trigger order that a trigger fires
Report, edit, etc...Posted by SA_Max71 on 2005-05-12 at 22:46:22
A long time ago I read a post by Bolt about the order in which a trigger fires. Does anyone have a link to it? (Ya, I used the search, but I couldn't find it.)

I know that:
  • A trigger will fire from the top of the list to the buttom of the list
  • it will start with player 1 then it will do player 2, then player 3, and then player 4, (ect...)
I don't remember how it handles a force, all players, and allies/foes.
Report, edit, etc...Posted by LegacyWeapon on 2005-05-12 at 22:50:30
I remember in this tutorial there is a bit on trigger order:
http://www.staredit.net/index.php?tutorial=4

The best way to see true trigger order is to open up SCMD2's TrigEdit where the triggers are all in one huge list.
Report, edit, etc...Posted by chuiu on 2005-05-12 at 22:51:53
Forces and All players are treated as the players assigned to the force. So in other words, Force 1 (player 1 2 and 3) should act the same way as a trigger for player 1 2 and 3.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-05-12 at 23:30:50
I am not sure, but I think it goes in this order:
  • Player 1
  • Player 2
  • Player 3
    Skip a few...
  • Player 7
  • Player 8
  • Force 1: Player 1
  • Force 1: Player 2
  • Force 1: Skip a few...
  • Force 1: Player 7
  • Force 1: Player 8
  • Same as previous for Forces 2, 3, and 4
  • All Players: Player 1
  • All Players: Player 2
  • All Players: Skip a few...
  • All Players: Player 7
  • All Players: Player 8

Note I may be (and most likely am) wrong. I just know its something like that.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-05-13 at 00:02:14
Thats compleatly wrong O)FaRTy1billion

Just think of it as the Forces and All Player sections dont' exist.

The order of the triggers owned by a group fires with the rest of that players triggers. Depending on the order you make the triggers it can be before the players triggers, after, in the middle, or mixed all up.

I always say that group triggers are the same as a copy of the trigger for each player in that group. This applies to trigger order too. I'm not sure where the stuff I wrote about it before is.
Report, edit, etc...Posted by in_a_biskit on 2005-05-13 at 07:28:46
Just to expand a little:

All of Player 1's triggers, including those under any Force containing Player 1 and those applying to All Players, are checked first. They are executed from top to bottom as you see them in StarEdit. The order of triggers between Player 1, Force 1 and All players is not consistent between maps and they are normally mingled together, because you normally create them in a random order and then move them in a random way.

Then all of player 2's triggers are checked from top to bottom.
And so on.

If you make a trigger apply for a force, it has the same effect as making it apply for every player in the force. (Similarly for All Players)

If you apply a trigger to two or more players, it has the same effect as making a copy of the trigger for each player.
Report, edit, etc...Posted by Slyence on 2005-05-13 at 07:31:35
The trigger goes in order how ever you make it... You can make them fire with Switches. That is the only way I know...
Report, edit, etc...Posted by in_a_biskit on 2005-05-13 at 07:45:50
No, Player 1's triggers are always checked before player 2's triggers, even if a trigger was made for player 2 before player 1.
Report, edit, etc...Posted by Screwed on 2005-05-13 at 07:46:30
QUOTE
How often and in what order do triggers fire?
Every two seconds the entire list of triggers will be executed. When this happens the triggers will be checked in the order that they are listed in the Trigger Menu -> Players tab. That order is

    Player 1
    Player 2
    Player 3
    Player 4
    Player 5
    Player 6
    Player 7
    Player 8
    All Players
    Force1
    Force2
    Force3
    Force4

What this means is a trigger for player one will execute before a trigger for player two will execute. This also means that the lower numbered players will have a slight advantage if two or more players are racing to get to a trigger location since the lower numbered player will be the one that activates it first if two players set off a trigger at the same time.

Within a section that contains multiple players (like All Players or one of the Forces) the triggers will be checked in player order within that group. Suppose you have several triggers set to All Players in the Players tab. All of those triggers will be checked for Player 1, then they will all be checked again for Player 2 and so forth all the way to player 8. This also holds true for triggers that apply to Forces, with players going in order and only the players that are actually in that force being checked.
Report, edit, etc...Posted by in_a_biskit on 2005-05-13 at 07:53:10
It can be demonstrated empirically that Blizzard is wrong when it gives:
QUOTE(Blizzard Entertainment)
...
All Players
    Force1
    Force2
    Force3
    Force4
[right](http://www.battle.net/scc/faq/triggers.shtml)[/right]

Triggers applying All Players and Forces do not necessarily come after those specified for players 1 to 8.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-05-14 at 15:33:24
QUOTE(in_a_biskit @ May 13 2005, 06:53 AM)
It can be demonstrated empirically that Blizzard is wrong when it gives:
QUOTE(Blizzard Entertainment)
...
All Players
    Force1
    Force2
    Force3
    Force4
[right](http://www.battle.net/scc/faq/triggers.shtml)[/right]

Triggers applying All Players and Forces do not necessarily come after those specified for players 1 to 8.
[right][snapback]207294[/snapback][/right]


Blizzard never started that triggers for allplayers and forces fire after players 1-8. Read there mapmaking assistance section on battle.net (i forget the exact link)

Anyways well said on everything else Bisket.
Next Page (1)