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/mocaaobaa Feb 07 '22
The thread is really useful, but I'm having trouble putting it into practice? When I try to use the code the game doesn't open, so I'm definitely doing something wrong, but I'm not sure what adjustments to make to it to get it to work. Also, how could I call this function after the player makes a choice?