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

several different actions at the same hotkey #70

Open
igroglaz opened this issue Jul 21, 2021 · 0 comments
Open

several different actions at the same hotkey #70

igroglaz opened this issue Jul 21, 2021 · 0 comments

Comments

@igroglaz
Copy link
Owner

Atm the game is not designed to macro multiple actions on the same hotkey. If you do so, it'll just overwrite whatever you set. So we forced to use different keys.


eg

keymap-act:[Escape]U"Teleportation"
keymap-input:0:{K}-

keymap-act:[Escape]r"Teleportation"
keymap-input:0:{K}-

Scroll works, staff doesn't work. So even if you have staff in your backpack, but don't have scrolls - staff won't be used.


keymap-act:[Escape]r"Teleportation"
keymap-input:0:{K}-

keymap-act:[Escape]U"Teleportation"
keymap-input:0:{K}-

(other order). works both. But always it 'reads' teleportation scrolls and then it uses staff (if there is no teleportation scrolls in backpack).

It will be fun to be able to be able to have both actions at one hotkey... so even if you have one of each items - they will work - but to make it to use staff first, and if there is no staff - to read scrolls. I wonder is it possible?

There is also a two variants:
3)

keymap-act:[Escape]U"Teleportation"r"Teleportation"
keymap-input:0:{K}-

and vice versa.. but they just show in input sting:
U"Teleportation"r
.. and also we don't want to make double teleport in case if we got two of this items in backpack :)

--

/rfe
so this ticket is kinda about 'order' of actions if they are at the same hotkey.. is it possible to control it? Maybe lower (bottom) or higher action should have a priority and always should work 1st?

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