renpy console question

frepyou

Member
Aug 4, 2018
396
374
is there a way to change what key is used to open console on renpy
or even to hot key a console command from game without opening closing console
 

Bev_

Member
Nov 17, 2018
476
762
You should take a look .

The bit that interest you the most:

To change a binding, update the appropriate list in . The following adds the 't' key to the list of keys that dismiss a say statement, and removes the space key from that list.
Code:
init:
$ config.keymap['dismiss'].append('t')
$ config.keymap['dismiss'].remove('K_SPACE')
You don't have to remove old key (unless you want to use it for something else), so
Code:
init:
    $ config.keymap['console'].append('y')
will suffice.

I'm not sure about commands thou, I guess that depends on what exactly do you need, but you'll probably need to wait for someone who actually knows what they're doing :)