Okay, let's see...I made a map which is composed of 4 forces:
1. Human Force (4 players)
2. Allied Comp Force (1 comp)
3. Neutral Comp Force (1 comp)
4. Enemy Comp Force (2 comps).
The victory/defeat triggers only really apply to the Human Force, and are summarized below:
______________________________
Victory:1. Switch ## is set. (Applies to Human Force)
Defeat:1. Current player loses all units. (Applies to Current Player)
OR
2. Unit X is destroyed. (Applies to Human Force)
______________________________
Now, the defeat triggers work fine, but the victory trigger is a little more troublesome. When Switch ## is set, the preceding actions of the trigger run through smoothly, but the scenario ends in defeat for all but one player when the trigger reaches the "end scenario in victory for current player" action.
I've already ensured that Allied Victory is on, both through a trigger applying to the Human Force, and triggers applying to each individual human player. I've also ensured that there are no triggers that conflict with the alliance status (eg. Set player to Ally).
So, I was just wondering what I missed, or how I could modify the trigger to get it to end the scenario in victory for the entire Human Force.
Thanks!
None.
Try making the victory trigger for individual players. That should work. If it doesn't, then you probably have something that will trigger the defeat triggers.
None.
Unfortunately I had put all this knowledge in my short term memory but if you're determined enough to sort through the banter read through this thread:
http://www.staredit.net/topic/8388/
None.
So...I should just forget about making the trigger apply to the Human Force, and instead have it apply to each of the 4 human players?
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
No. Clicking individual players is exactly the same as clicking he force they are in. When the map starts StarCraft splits and creates copies of those trigger for each player anyway.
I would try to defeat their enemies. This should give all players an automatic victory.
You need a victory trigger to win the game.
You also need everyone who is going to win to have on allied victory. You only need it if there's a trigger that says "Non-Allied Victory Players" apparently.
post map.
Post has been edited 1 time(s), last time on Feb 16 2010, 8:13 pm by rockz. Reason: incorrect
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
You also need everyone who is going to win to have on allied victory.
Not correct.
Alliance status doesn't matter at all. When a player receives the victory action it makes that trigger run through the last run through, and any player that doesn't receive the victory action in that loop gets defeat.
So, are you clearing the switch in the trigger that gives the players victory? Also, whatever prompts the victory switch to be set could be in-between the players' triggers, causing any of the players before that to get defeat.
None.
Oh, actually, setting it individually for each player seemed to have worked. (Weird, huh?)
None.
Oh, actually, setting it individually for each player seemed to have worked. (Weird, huh?)
This shouldn't be the case (and I'm not going to test it), but could it be that a trigger with force 1: always, victory won't run for player 2, since player 1 already ran the trigger? I think somewhere the triggers just messed up.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"