in a test map, i had always move location x onto terran wraith, move location y onto terran marine, create 1 protoss archon for player 1 at X, kill all protoss for player 1 preserve trigger
"hyper trigger"
if player 2 brings at least 1 terran marine to Y
if player 1 brings at least protoss archon to Y,
Action: Kill all terran marines for player 2 at Y
This worked in my test map but did not work in my other map that has like 100+ triggers so can someone explain the trigger order? somebody was explaining to me yesterday in op sen but they went afk.....
None.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
Basically it is quite easy:
Trigger order in general:
1. All triggers for P1 (including his triggers in Force & All Players)
2. All triggers for P2 (including his triggers in Force & All Players)
3. All triggers for P3 (including his triggers in Force & All Players)
.
.
.
Trigger actions are fired from top to buttom in the list.
But I don't know what could cause a malfunction of your trigger in your map.
If you do all actions always and in 1 trigger that shouldn't happen.
Could you post the trigger owners, too?
Or can you describe what is not happening or in general what is the effect you can see? Or is the trigger just not firing?
"did not work" is a bad description of an error
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
What Ahli said.
Keep in mind that the order in ScmDrafts trigger list is NOT the order in that the triggers are fired. When you mark Player 1 and Player 2 and you see a P2 trigger above one owned by P1 then the P1 trigger will still fire first.
However If you click Player 1 and Force 1 (P1 member of it) and All Players then you see the order in which all of P1's trigger fire.
Then deselect P1 and select P2 and you see the trigger firing order of P2 (if he's also in Force1).
no its still not working, the death of players is under player 7(cpu) if they bring to the location, the units are created under player 8, i click ctrl and select both player 7 and 8 and i saw the death thingy was below the kill archons trigger so i moved it up the list and it still does not work.
basically the way im aware that theres something wrong is because i removed the
Always kill all archon for player 8 and replaced that with a death count timer that goes from 0 to 2, when it hits 0 kill all archons, that seems to work but always kill all archons does not work as the players do not die when they touch it
Computers are force 2, players are force 1
None.
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
You give very little info and don't even ask questions, so it's hard to help you.
Start by telling us what you want to do and what is happening instead. And then give us the triggers you have and we'll sort it out in no time.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
I'm only guessing what he tries to do. But maybe this is what he wants to do (a simple dodge):
Players have 1 Marine which dies on touch of an Archon. The Archon dies, too. One Archon can kill multiple Marines.
Players with Marines (Force 1)
Current Player brings at least 1 Terran Marine to Anywhere
Move Location on Terran Marine for Current Player in Anywhere
Preserve Trigger
Players with Marines (Force 1)
Current Player brings at least 1 Terran Marine to Location
Player 8 brings at least 1 Protoss Archon to Location
Kill all Terran Marine for Force 1 in Location
Preserve Trigger
Am I guessing right or what are you trying to achieve?
I want the player 1 who controls the marine to die when he touches the explosion of the archon.
I have
Under Player 7:
Condition: Player 1 brings at least 1 marine to P1 Location
PLayer 8 Brings at least 1 archon to p1 location
Action: Kill all marine for player 1 at p1 location
Preserve trigger.
Under Player1:
Condition: Always
Action: Move location labeled p1 onto terran marine owned by player 1 at anywhere.
Preserve Trigger
Under Player8:
Condition: Always
Create 1 Protoss archon at archon location
Kill all protoss archon at archon location.
Preserve Trigger.
the 3 triggers worked in my test map but not in my map i intended it to work with so this modification made it work.
Instead of
Under Player8:
Condition: Always
Create 1 Protoss archon at archon location
Kill all protoss archon at archon location.
Preserve Trigger.
Under Player8:
Condition: Player 8 has suffered exactly 0 deaths of Cantina
Create 1 Protoss archon at archon location
Kill all protoss archon at archon location.
modify deaths for player 8 set to 2 for cantina
Preserve Trigger.
and obviously a seperate trigger that subracts 1 cantina for player 8.... Descriptive enough nukeraider?
My main question is why does it not work normally?
None.
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
The problem is that you create/kill the archon after checking for it so next trigger loop it's not there anymore to be detected.
However killing a unit does not remove it right away. Its hp will be set to 0 which is practically a sentence to death. It can still be detected for 1 frame (2 frames per trigger loop) until it's actually considered dead. That means if you create and kill before you check for the archon in the location then it will still be there. But if you create/kill it after you check, it takes 2 frames until the next trigger loop starts so the archon will not be detected anymore.
What you have to do is swap P8 and P7 since triggers are checked player by player.
And yes, that was detailed enough to make a detailed analysis possible. Thank you.
(Although you didn't deserve it for your sarcastic comment. )
I just wrote this like 3 days ago to add to the wiki, and it's in the FAQ:
http://www.staredit.net/wiki/Triggers:_The_FundamentalsMostly what these guys have ever said, but if you ever need a reference it's there.
None.