Hi folks. I know many newer writers have been having difficulty with the lobby, and I consulted most of the advice to be found out there. I'm still stuck, however.
Here's my problem:
-At lobby, players all belong to one team with attribute values to select team RED or team BLUE.
-Attribute values read: BLUE 1, BLUE 2, BLUE 3, BLUE 4, RED 1, RED 2, RED 3, RED 4.
-At map initialization, a while loop assigns the player with attribute value Blue 1 to playerNumbers[0], Blue 2, to playerNumbers[1], etc etc.
-At two seconds, players stored in playerNumbers[0] to playerNumbers[3] are assigned to playergroup blueTeam. [4] to [7] are assigned to playergroup redTeam.
-Players in blueTeam set each player in redTeam to hostile, and vice versa.
-Players in blueTeam set each player in blueTeam to allies no shared vision. Same with red.
What happens:
-Only BLUE 1 and RED 1 are enemies. Everyone else is allied with shared vision. Only RED 1 AND BLUE 1 can kill, and only eachother.
This is really starting to grind my gears. Hopefully you lovely folk can help. Thanks in advance!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi folks. I know many newer writers have been having difficulty with the lobby, and I consulted most of the advice to be found out there. I'm still stuck, however.
Here's my problem:
-At lobby, players all belong to one team with attribute values to select team RED or team BLUE.
-Attribute values read: BLUE 1, BLUE 2, BLUE 3, BLUE 4, RED 1, RED 2, RED 3, RED 4.
-At map initialization, a while loop assigns the player with attribute value Blue 1 to playerNumbers[0], Blue 2, to playerNumbers[1], etc etc.
-At two seconds, players stored in playerNumbers[0] to playerNumbers[3] are assigned to playergroup blueTeam. [4] to [7] are assigned to playergroup redTeam.
-Players in blueTeam set each player in redTeam to hostile, and vice versa.
-Players in blueTeam set each player in blueTeam to allies no shared vision. Same with red.
What happens:
-Only BLUE 1 and RED 1 are enemies. Everyone else is allied with shared vision. Only RED 1 AND BLUE 1 can kill, and only eachother.
This is really starting to grind my gears. Hopefully you lovely folk can help. Thanks in advance!