Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about set replay oberver perspective #300

Open
DotaIsMind opened this issue Apr 2, 2019 · 3 comments
Open

Question about set replay oberver perspective #300

DotaIsMind opened this issue Apr 2, 2019 · 3 comments

Comments

@DotaIsMind
Copy link

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?

@Frigerius
Copy link

To my knowledge there currently is no function to change the observers perspective, so you will always only be able to observer player 0.

@DotaIsMind
Copy link
Author

Thank you. Hopefully this function will be available in the future, otherwise I'll have to find more replays.

@Archiatrus
Copy link

Try my PR #273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants