-
Notifications
You must be signed in to change notification settings - Fork 55
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
New Extension: Key Press #994
base: main
Are you sure you want to change the base?
Conversation
Does this also have a function to detect how long a key has been depressed? (for charging spells/attacks) Condition: "Button X has been pressed for Y seconds" I also wonder if it should have an expression that shows the percent complete? Action: Start an X second long charge named "SuperAttack" Expression: ChargePercent("SuperAttack") Condition: "SuperAttack" is charging Action: Cancel charging "SuperAttack" (the user can use this for key released, or perhaps if the player gets hit while charging) |
Just commenting to say that this is a great idea and should simplify the work of many people if this can be flexible enough 👍 |
Sure, i can try adding a feature like that. |
The screenshot doesn't show the action sentence. I don't have enough context to answer. |
Okay, I need to take a look at the extension again, I will send an update later in the day. |
Do you want to work on this more? It is probably close to being merged when you are ready. |
yes, i will still work on it. |
@D8H This was my question, in order to get the key pressed duration I need to get the key user is checking for I used this the parameter type is a keyboard key but it still returns an error. |
It's really hard to follow with the events being cut. |
okay |
oh, ok, I guess the key parameter type can't be used for expression parameter. The UI should probably not show it in the list in this case. |
An extension that checks how many times a keyboard key was pressed in a period of time ( maximum delay ), works just like the double click extension but for keyboard keys.