Victory when all other players lost

Tothumn

New Member
Reaction score
4
i hope this is the last help i need for my map:
i have 3teams. player 1-8 player 9-10 and player 11-12
i want to set that if team1s all enemy 9-10-11-12 left, or defeated, or slot status is unused then win the game for players 1-8.
i have 2more triggers like this , witch win the game for players 9-10 and for 11-12.But no one works:eek:


Code:
Victory Condition for humans
    Events
        Player - Player 9 (Gray) leaves the game
        Player - Player 10 (Light Blue) leaves the game
        Player - Player 11 (Dark Green) leaves the game
        Player - Player 12 (Brown) leaves the game
        Player - Player 9 (Gray) leaves the game with a defeat
        Player - Player 10 (Light Blue) leaves the game with a defeat
        Player - Player 11 (Dark Green) leaves the game with a defeat
        Player - Player 12 (Brown) leaves the game with a defeat
    Conditions
        ((Player 9 (Gray) slot status) Equal to Has left the game) or ((Player 9 (Gray) slot status) Equal to Is unused)
        ((Player 10 (Light Blue) slot status) Equal to Has left the game) or ((Player 10 (Light Blue) slot status) Equal to Is unused)
        ((Player 11 (Dark Green) slot status) Equal to Has left the game) or ((Player 11 (Dark Green) slot status) Equal to Is unused)
        ((Player 12 (Brown) slot status) Equal to Has left the game) or ((Player 12 (Brown) slot status) Equal to Is unused)
    Actions
        Game - Victory Player 1 (Red) (Show dialogs, Show scores)
        Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
        Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
        Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
        Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
        Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
        Game - Victory Player 7 (Green) (Show dialogs, Show scores)
        Game - Victory Player 8 (Pink) (Show dialogs, Show scores)

sorry for my english , i hope its understandable :/
 

thewrongvine

The Evolved Panda Commandant
Reaction score
506
Well... did anyone leave the game?

Oh wait, you also did unused. Silly me, lol.

For Events, try taking out the "with a defeat" part. Just the 4 first events.
 

Tothumn

New Member
Reaction score
4
yes,my map is almost finished and i tested it a lot.
thx for idea i go and try it...

EDIT: it didnt work :S
"make a victory condition" it sounds simply but i cant do it :S

please,can any1 make me this condition?
(a team win if the other 2team's members lost / left /slot unused)
 

velnias

New Member
Reaction score
13
i dont know, maybe try to use boolean variable for each player. if player leaves or defeat, set your variable to true. and then make a new trigger. events: Time - Every 1.00 seconds of game time.
checking condition if all defeats are true make actions.
 

Tothumn

New Member
Reaction score
4
thx but i dont know variables...
Code:
Untitled Trigger 001
    Events
        Time - Every 0.50 seconds of game time
    Conditions
        boo Equal to True
    Actions

"boo" is a boolean variable with array size 0 because idk what is that.
if player leaves or defeat, set your variable to true
umm...how?:eek:
 

Cheesy

some fucker
Reaction score
95
Ok click on the X in the trigger editor. Make a boolean type variable with the name PlayerDefeat. Check the array box and change the number to 12. Click OK. Now make a separate trigger for each defeat like this:

Code:
Events
Player 1 (Red) is defeated (Or leaves or w/e)
Conditions
Actions
Set PlayerDefeat[1] = true

The Set command can be found under General - Set Variable
Make one of these triggers for each player. And make sure to change PlayerDefeat[1] to PlayerDefeat[2], PlayerDefeat[3] etc... PS: Only make this for One of your teams.

Lastly, make the final trigger.

Code:
Events
Every 0.5 seconds
Conditions
PlayerDefeat[7] = true
PlayerDefeat[8] = true
PlayerDefeat[9] = true
PlayerDefeat[10] = true
PlayerDefeat[11] = true
PlayerDefeat[12] = true
Actions
Game - Defeat Player 7
Game - Defeat Player 8
Game - Defeat Player 9
Game - Defeat Player 10
Game - Defeat Player 11
Game - Defeat Player 12
 

Tothumn

New Member
Reaction score
4
tyvm +rep of course^^

sorry for this much asking but is it ok for all players?:
Code:
player1defeat
    Events
        Player - Player 1 (Red) leaves the game
        Player - Player 1 (Red) leaves the game with a defeat
    Conditions
    Actions
        Set PlayerDefeat[(Player number of (Triggering player))] = True

(I dont want to make +work because of my english knowledge so i ask everything :rolleyes:)
 

Cheesy

some fucker
Reaction score
95
Well if you want to make it for both teams, make two boolean variables. Such as PlayerDefeatOne and PlayerDefeatTwo make them exactly as the one in my previous post. Just make the triggers for both teams then.
 

Tothumn

New Member
Reaction score
4
actually i have 3 teams:rolleyes:


chance 1:
this will work:
Code:
victory for humans
    Events
        Time - Every 0.50 seconds of game time
    Conditions
        PlayerDefeat[9] Equal to True
        PlayerDefeat[10] Equal to True
        PlayerDefeat[11] Equal to True
        PlayerDefeat[12] Equal to True
    Actions
        Game - Victory Player 1 (Red) (Show dialogs, Show scores)
        Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
        Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
        Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
        Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
        Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
        Game - Victory Player 7 (Green) (Show dialogs, Show scores)
        Game - Victory Player 8 (Pink) (Show dialogs, Show scores)

or chance2:
i cant understand variables
 

Cheesy

some fucker
Reaction score
95
So if only one team is defeated, the other two win? Just making sure this is what you want, because that is what that trigger will do.
 

Tothumn

New Member
Reaction score
4
no.

there are 3 teams
team1 players 1-2-3-4-5-6-7-8
team2 players 9-10
team3 players 11-12

And i want to do this:
if team2 and 3team both lost ->team1 win
same if team 1 and 2 lose and if 1 and 3lose
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top