Skip to content

Activate/Deactivate Expression Command #29

@Houdini111

Description

@Houdini111

VTube Studio supports the ability to idempotently set the state of expressions (toggles). This functionality should theoretically allow users to define multi-stage switches.
For example, a model may have a jacket with a hood which can be lowered or the jacket removed entirely. With the current functionality of only toggles the user must actively look at the model, check which state it is in, and then decide what to press. If the jacket was off and the hoot down, they would first have to press the "jacket on" toggle, see that the hood is down, and then press the hood toggle. This cannot be made into a multi-action because if the hood was on previously then toggling both would instead put the hood down.
VTube Studio supports the ability to set a toggle instead of set it, however this is not present in the UI. The documentation for this feature can be found here (
https://github.com/DenchiSoft/VTubeStudio#requesting-activation-or-deactivation-of-expressions). As a plugin for VTS it should be possible to expose this functionality to the user.

I attempted to create the change myself but could not figure out how to run your project. Here's a git patch of them that you can try to use as a starting point.
ExpressionActivation.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions