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

[Feature Request] Allow multiple "impulse" commands per frame #283

Open
tunbridgep opened this issue Dec 15, 2023 · 0 comments
Open

[Feature Request] Allow multiple "impulse" commands per frame #283

tunbridgep opened this issue Dec 15, 2023 · 0 comments

Comments

@tunbridgep
Copy link

tunbridgep commented Dec 15, 2023

No matter how many times the impulse command is used, it always only ever executes once per frame, making certain bindings impossible.

For instance:

alias "best_weapon" "impulse 2;impulse 3;impulse 4;impulse 5;impulse 8"
bind "c" "best_weapon"

Expected behaviour: It selects the best non-explosive weapon we have (similar to how autoswitch works when out of ammo).

Actual behaviour: It selects the lightning gun, but fails and simply says "No Weapon" if we don't have it (or it runs out of ammo) without selecting anything else, the other impulse commands are ignored.

Alternatively, allow multiple stacked impulses in one command, similar to other source ports:
https://quakeone.com/forum/quake-help/quake-clients/12262-quakespasm-and-selecting-bestweapon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant