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

[Feature Request] Multi-Target Logic Processing #572

Open
MSWS opened this issue Sep 8, 2024 · 1 comment
Open

[Feature Request] Multi-Target Logic Processing #572

MSWS opened this issue Sep 8, 2024 · 1 comment
Labels
untriaged New issue has not been triaged

Comments

@MSWS
Copy link

MSWS commented Sep 8, 2024

A feature that I think would be great would be supporting the combination of multi-targetters.

Currently, you are able to use @[target] to target specific players (similar to SourceMod), some examples:

  • @t would target those on the Terrorist team
  • @alive would target those alive
  • @human would target non-bots

The specific implementation (alongside all other target supports) can be found here.

I propose supporting the combination of these targeters to allow for fine-tuning of who someone wishes to target. This would be similar to how Minecraft handles target selectors.

One potential implementation would work like so:

Specifying more than one selector without spaces would work as a logical AND. Some examples:

  • @t@alive would target those on the Terrorist team that are also alive
  • @!me@ct would target all CTs excluding yourself (even if you are on CT)

Similarly, additional implementation could support using OR operations instead. For example:

  • @t|@alive would target all Terrorists (including dead ones) alive CTs
  • @me|@ct would target all CTs, and yourself (even if you are not on CT)
@github-actions github-actions bot added the untriaged New issue has not been triaged label Sep 8, 2024
@KillStr3aK
Copy link
Contributor

I believe this could be handled individually and you could just merge the results into a single enumerable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

2 participants