Skip to content

[FR] Enhance Command Execution Configuration to Allow for Finite Repeats #239

Open

Description

@Dearliet

Old:

{
    "commands": "/say hi",
    "execute_condition": "",
    "repeat": false,
    "repeat_frequency": 1
}

New:

{
    "commands": "/say hi",
    "execute_condition": "",
    "total_cycles": 5,
    "frames_per_cycle": 10
}
  • With total_cycles, you can specify exactly how many times the command should repeat. For instance, setting total_cycles to 5 will repeat the command five times
  • The frames_per_cycle parameter controls the timing between repetitions
  • Setting total_cycles to -1 will still allow for endless repetition, but with added flexibility for finite repeats

Note: The parameter is frames_per_cycle rather than ticks_per_cycle, allowing commands to align with the animation speed. For example, if the animation is running at 0.5x speed, the command execution will adjust proportionally to maintain synchronization.

Activity

  1. added
    ✨ Enhancement
    on Jul 26, 2024
  2. added
    ❓ Needs More Info
    on Aug 2, 2024
  3. removed
    ❓ Needs More Info
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

✨ Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions