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

Spectator - Allow spectator on player or a group only #218

Merged
merged 17 commits into from
Aug 14, 2024

Conversation

3Mydlo3
Copy link
Member

@3Mydlo3 3Mydlo3 commented Aug 14, 2024

When merged this pull request will:

  • Add ability to spectate units and groups instead of sides

@3Mydlo3 3Mydlo3 added the feature New feature or request label Aug 14, 2024
@3Mydlo3 3Mydlo3 added this to the ongoing milestone Aug 14, 2024
@3Mydlo3 3Mydlo3 self-assigned this Aug 14, 2024
@veteran29 veteran29 changed the title Allow spectator on player or a group only Spectator - Allow spectator on player or a group only Aug 14, 2024
@@ -42,7 +42,7 @@
"LIST",
[LSTRING(Sides), LSTRING(Sides_Description)],
[LSTRING(DisplayName), LSTRING(Unconscious)],
[[0, 1, 2], [LSTRING(Friendly), LSTRING(Own), "str_all_voices"], 0],
[[0, 1, 3, 4, 2], [LSTRING(Friendly), LSTRING(Own), LSTRING(PlayerGroup), "str_player", "str_all_voices"], 0],
1,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should Own side remain as the default here? Maybe we should change it?

Copy link
Member

@veteran29 veteran29 Aug 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no opinion on this, can stay as is.

@3Mydlo3 3Mydlo3 marked this pull request as ready for review August 14, 2024 16:56
@3Mydlo3 3Mydlo3 requested a review from a team as a code owner August 14, 2024 16:56
@3Mydlo3 3Mydlo3 requested review from veteran29 and removed request for a team August 14, 2024 16:56
@3Mydlo3 3Mydlo3 modified the milestones: ongoing, 1.16.0, 1.17.0 Aug 14, 2024
3Mydlo3 and others added 2 commits August 14, 2024 19:12
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Copy link
Member

@veteran29 veteran29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

If hemtt does not complain about duplicate defines anymore feel free to merge.

@3Mydlo3
Copy link
Member Author

3Mydlo3 commented Aug 14, 2024

If hemtt does not complain about duplicate defines anymore feel free to merge.

It does not complain. Given that I've copied those from the game files, I'll proceed with merging without commenting what was commented again.

@3Mydlo3 3Mydlo3 merged commit 293e784 into master Aug 14, 2024
5 checks passed
@3Mydlo3 3Mydlo3 deleted the spectator/player-only-spectator branch August 14, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants