Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

Allow other replay perspective than player 1 in replay. #273

Open Archiatrus opened 6 years ago

Archiatrus commented 6 years ago

In some cases you want to observe both players at once or from the second player perspective. I could not find a way to change the perspective so I added a function to do so. Ideally, it would be an additional parameter for one of the other replay related functions but I couldn't find a good fit.

Regards