Topic Referencing players and teams?
aMut #328
aMut
I want to know how I can do the following:
- Reference the team for player 1.
- Reference the first player in team 2.

How can I do this?
Turtles #601
Turtles
I think there is some function which lets you get the team of a player.

If not then worst case scenario you could run a loop such as:

player group Team_A
player group Team_B

for each player in (active players)
if(player is allied with player 1)
add player to Team_A
else
add player to Team_B


That way you will have a variable for each team.

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Click here to view the Forums Code of Conduct.

Report Post # written by
Reason
Explain (256 characters max)

Reported!

[Close]