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

Implement pulse filter #1149

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Implement pulse filter #1149

merged 1 commit into from
Mar 6, 2023

Conversation

Pablete1234
Copy link
Member

Implements a pulse filter, somewhat similar to countdown or after:

<filters>
  <pulse id="some-pulse" period="1s" duration="0.5s" filter="some-filter"/>

  <pulse id="other-pulse" period="60s" duration="15s">
    <match-running/>
  </pulse>
</filters>

This filter is dynamic, useful mainly for triggers and actions, where you can make it so once a filter is met (eg: a player entering a region) instead of getting one activation, you can get repeated activations for specifically certain amounts of time (eg: 15s on, 45s off, total period is 60s).

Signed-off-by: Pablo Herrera <[email protected]>
@Pablete1234 Pablete1234 added the feature New feature or request label Mar 5, 2023
@Pablete1234 Pablete1234 requested a review from Electroid as a code owner March 5, 2023 20:14
@TheRealPear
Copy link

liked & subscribed

Copy link
Member

@Electroid Electroid left a comment

Choose a reason for hiding this comment

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

Neat. Clicked the bell on the subscribe button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants