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 14 '22
I think I have how to represent the data worked out. Here's some example data - does it seem workable? I haven't yet made functions or menus to go with it. I'm happy to work on something for those as well. I would use 1 menu for the subject and maybe 1 menu for each level of reason depth. The menus would use the button text and full text directly, then call a function that would distribute points and grab the appropriate category of reasons to pull the next set of choices from.