I have some triggers to set the alliance, but they only affect the player number that they joined the lobby as. This is a problem because the first person that joins doesn't always stay on team 1. So the triggers put them on the wrong team. How do I fix this?
Here's what I have:
The lobby teams are player groups that you can get with a trigger action.
Then iterate over them with a "for each player in playergroup". You need a nested loop and 2 variables. Then you can set the alliance between each player of team 1 towards each player of team 2.
I figured out that it is also putting people in the wrong starting point for the same reason. If I make the starting point random, then there's still a chance it could spawn in the wrong spot. How do I do that as well?
I have some triggers to set the alliance, but they only affect the player number that they joined the lobby as. This is a problem because the first person that joins doesn't always stay on team 1. So the triggers put them on the wrong team. How do I fix this?
Here's what I have:
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
The lobby teams are player groups that you can get with a trigger action.
Then iterate over them with a "for each player in playergroup". You need a nested loop and 2 variables. Then you can set the alliance between each player of team 1 towards each player of team 2.
@Ahli634: Go
so I could do this?
I guess not, I tested it and it made player 2 my enemy...
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
I figured out that it is also putting people in the wrong starting point for the same reason. If I make the starting point random, then there's still a chance it could spawn in the wrong spot. How do I do that as well?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here