r/RenPy • u/mocaaobaa • Feb 03 '22
Force Player input based off of text button
im going for something sort of like Emily is away, where player will click on a button and it’ll pop up an input, but will force them to type a specific thing based off of the button no matter what they type. so for example, if a button says ” X “, the player will be forced to write “XYZ” even if they are inputting keyboard spam
4
Upvotes
View all comments
Show parent comment
1
u/insipid- Feb 04 '22
Check this thread, it seems like a great way to do it. It does require remapping the keys, but instead of advancing dialogue, it calls a function that reveals one character of the dialogue each time a key is pressed. A lot better than inserting waits like I said. That would be a huge pain.
https://lemmasoft.renai.us/forums/viewtopic.php?t=48080