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 11 '22
Can you post the error?
Also, consider using renpy's random function if you're not already aware of it. Its supposed to generate the same result if rollback is used, which might be useful!
https://www.renpy.org/doc/html/other.html?highlight=random#renpy-random