| 02-01-2004, 04:24 AM | #1 |
lol I know this sounds stupid but for some reason I'm having trouble making a simple trigger (not an hour of copying and pasting) so that if all the other players are defeated then you are victorious. How would I do this? |
| 02-01-2004, 04:48 AM | #2 |
My best suggestion is to use the melee enforce victory/defeat conditions. That is what it was designed for. |
| 02-01-2004, 04:48 AM | #3 |
...... |
| 02-01-2004, 07:38 AM | #4 |
Events: Player 1/2/3/4/5/6/7/8/9/10/11/12 leaves the game Conditions: Integer Comparison: Number of players in (players controlled by a user) equal to 1 Actions: Pick every player in (all players) and end in victory. The condition *may* need to be changed to check if the player is active or not, I dunno if players who have left are still counted as controlled by a user. |
| 02-02-2004, 11:49 AM | #5 |
This trigger doesn't seem to work... sorry... I tried it and when everyone was defeated I still hadn't won :-\ |
| 02-02-2004, 05:49 PM | #6 |
Did you try changing it to see if the slot status is equal to "is playing" in addition to being controlled by a user? (so number of players in player group: players controlled by user matching slot status equal to is playing) |
| 02-02-2004, 11:48 PM | #7 |
I tried that... if anyone can try it themselves and get it to work that would be great... All I want is for it to be set so that if all other players are defeated, then you win. I do NOT want to use the melee trigger, cuz it does some other stuff... like the town hall reveal countdown crap... oh also I have two AIMs if anyone wants to help that way... OneWinged4ngel77 and Char9728. You'll have to try both I switch between the two :-\ man you'd think it'd be easier to make a trigger that wins if you last player left lol :-p |
| 02-03-2004, 03:47 AM | #8 |
cmon please help me without this my entire map is fudged.. cuz you can't win... |
| 02-03-2004, 11:56 AM | #9 |
What I have right now: Periodic event, ever second Condition: If Number of players in (all players matching (((Matching player (Slot Status)) equal to is playing))) Equal to 1 Actions: Select all players in player group (all players) and do actions: loop: victory (picked player) I'm wondering if the MATCHING PLAYER thing in the condition is wrong... |
| 02-03-2004, 08:56 PM | #10 |
...that's not what I said. Check both controlled by a user and is playing. |
| 02-04-2004, 05:04 AM | #11 |
could anyone like, just write down the exact trigger like events, conditions, actions? all I want is if all players but one are defeated, said remaining player wins... I've redone this trigger like 15 times and I still can't get the darned thing to work. |
| 02-04-2004, 07:48 AM | #12 |
This should work but it does much more than it needs to, and could easily be made more efficient: Periodic event, every second Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))) Equal to 1
Then - Actions
Else - Actions |
| 02-05-2004, 02:41 AM | #13 |
Alright, that doesn't work at all. I know it's the condition that's messed up... What I think it is is All players matching condition (matching player is blah blah blah) think the second matching player doesn't work cuz it's supposed to refer to a previously fulfilled condition I believe... plus, you just posted the trigger I had a long time ago and didn't work... |
| 02-05-2004, 03:38 AM | #14 |
That is not the trigger you had, because I tried it and it worked. |
| 02-05-2004, 01:07 PM | #15 |
well I just tested it again, and when all players have left cept one... no vic message... soooo... I dunno what's wrong. Maybe someone would have to actually look at the map for me? |
