branchrust_reboot/main/Twitch_Rivals_IV/mapcancel
2 Commits over 0 Days - ∞cph!
Added support for showing all members of every team on the map while spectating
For this to work the spectator needs to run "global.toggleSpectateTeamInfo 1" to start sending the data
By default all teams are shown, on the client the BasePlayer.filterSpectateMapTeamID can be used to filter to a specific team (0 = show all teams)
Map markers are shown in the correct team colour and will match their nametags
RelationshipManager.createAndAddToTeam will no longer NRE when attempting to assign a player to an existing team (they will get assigned to that team)
Moved colours for friendly/hostile/clan into static colours instead of the player nametag prefab for access elsewhere
WIP support for showing multiple teams on the map view while spectating (and potentially all players?)