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

Support arbitrary scopes in exposed actions #1279

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

Pablete1234
Copy link
Member

Currently exposed actions must be for the match scope, with this PR it supports any scope (player, team, match) and adds an extra optional parameter to /action trigger <action> [target] for a target player to execute the action on.
This is pretty in-line with how /variables [target] or /filter <filter> [target] work, where by default the sender is the scope to use (ie: the player, or the players' team, or the players' match) but a different one can optionally be passed in.

@Pablete1234 Pablete1234 added the feature New feature or request label Nov 27, 2023
@Pablete1234 Pablete1234 added the ready PR is ready to merge label Dec 14, 2023
@Electroid Electroid merged commit 3b3ae70 into dev Dec 18, 2023
2 checks passed
@Electroid Electroid deleted the any-scope-exposed-action branch December 18, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request ready PR is ready to merge
Development

Successfully merging this pull request may close these issues.

2 participants