Open DotaIsMind opened 5 years ago
To my knowledge there currently is no function to change the observers perspective, so you will always only be able to observer player 0.
Thank you. Hopefully this function will be available in the future, otherwise I'll have to find more replays.
Try my PR #273
API provides a sc2::ReplayPlayerInfo to get the player's information in every replay. For example, the first player ID is 0 and the race is Zerg, the second player ID is 1 and race is Protoss. I want to analyze the replay just using the Zerg's perspective, but I didn't find the function in Coordinator or ReplayObserver to set the perspective before starting replay game. Will player 0's perspective be used by default when loading the replay?