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

Team Say refactory/enhancement #1042

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

dystopm
Copy link
Contributor

@dystopm dystopm commented Jan 7, 2025

Purpose

Avoid unnecessary use of say_team in FFA mode. Only for CT and T, Spectators can still use say_team.
Fix ignoremsg command behaviour in FFA mode (you can still see "enemies" message)

Approach

Change Host_Say's teamonly parameter local value to make say_team behaviour work like a simple say message.
Use CSGameRules::PlayerRelationship function instead of directly checking team indexes

Only for CT and T, Spectators can still use say_team
@dystopm dystopm changed the title Disable say_team when FFA mode is enabled Team Say refactory/enhancement Jan 9, 2025
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

Successfully merging this pull request may close these issues.

1 participant