First of all I'd like to precise that I'm not very familiar with triggers, but so far I've always managed to make them work. Also, I've been looking for tutorials but I didn't find one.
I'm working on a 4 player map (2v2 only) with custom races.
What I want to do is a dropdown for every player witch refreshes in real time, so players can see each other's race. Also, I'd like to force each player on the same team to choose the same race.
So far I managed to create a working dialog, but only for one player at a time.
If the players in each team must have the same race then why make a selection for each player? that doesn't make sense.
From the sounds of what you are trying to do I would create a single dialog and make it visible to everyone. then for each team have a drop down menu or buttons or whatever to select the race for that team. You can chose to disable dialog items for certain players/player groups. So disable the controls for team 1 for team 2, and disable the controls for team 2 for team 1. Then they are all looking at the same buttons and see the changes as they are made. You still have the issue of players fighting over which race their team should be or changing the race at the last minute so the enemy is not able to know or respond to what race they are.
Then they are all looking at the same buttons and see the changes as they are made. You still have the issue of players fighting over which race their team should be or changing the race at the last minute so the enemy is not able to know or respond to what race they are.
That's exactly my concern, and that's why I have a dropdown for each player. If the dropdown of each player in the same team is different, the UI sends a message saying "you have to choose the same race as your ally" instead of running the next trigger.
So far Trivea my triggers are like that :
- Creating the dialog with the dropdown and a button "GO"
- If each team has choosen the same race then run the trigger for the character selection of the corresponding race
For now, I'm stuck in multiplayer mode because the second trigger won't launch, as the dropdown won't refresh themselves. I tried it with a friend of mine in the same room, and no matter witch race I choose, my dropdown on his screen is still fixed on "random" (the default choice).
I can upload my code here, but I use a lot of triggers and I'm sure there is a much simpler way to get the same result.
I could do this, but then I'll need to find something else to trigger my second set of trigger, the condition being that both player in the same team have the same dropdown item selected.
Hi there,
First of all I'd like to precise that I'm not very familiar with triggers, but so far I've always managed to make them work. Also, I've been looking for tutorials but I didn't find one.
I'm working on a 4 player map (2v2 only) with custom races.
What I want to do is a dropdown for every player witch refreshes in real time, so players can see each other's race. Also, I'd like to force each player on the same team to choose the same race.
So far I managed to create a working dialog, but only for one player at a time.
Could you explain me how to do that ?
Thanks.
If the players in each team must have the same race then why make a selection for each player? that doesn't make sense.
From the sounds of what you are trying to do I would create a single dialog and make it visible to everyone. then for each team have a drop down menu or buttons or whatever to select the race for that team. You can chose to disable dialog items for certain players/player groups. So disable the controls for team 1 for team 2, and disable the controls for team 2 for team 1. Then they are all looking at the same buttons and see the changes as they are made. You still have the issue of players fighting over which race their team should be or changing the race at the last minute so the enemy is not able to know or respond to what race they are.
Hi there,
That's exactly my concern, and that's why I have a dropdown for each player. If the dropdown of each player in the same team is different, the UI sends a message saying "you have to choose the same race as your ally" instead of running the next trigger.
So far Trivea my triggers are like that :
- Creating the dialog with the dropdown and a button "GO" - If each team has choosen the same race then run the trigger for the character selection of the corresponding race
For now, I'm stuck in multiplayer mode because the second trigger won't launch, as the dropdown won't refresh themselves. I tried it with a friend of mine in the same room, and no matter witch race I choose, my dropdown on his screen is still fixed on "random" (the default choice).
I can upload my code here, but I use a lot of triggers and I'm sure there is a much simpler way to get the same result.
Thanks for your help so far !
@Trieva: Go
Hey,
I could do this, but then I'll need to find something else to trigger my second set of trigger, the condition being that both player in the same team have the same dropdown item selected.
Okay, I'm going to try to remake it with the buttons and I'll get back at you.
Thanks !