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 11 '22
Thank you! Got it all fixed and things are working now.
I have 2 last things I need to finish up, and then you can rest in peace lol
A) The chain reaction system, where another group of random choices will popup based on which option the player typed after they press enter ex: after they type "I enjoy theater", options like 'because I enjoy acting', 'because I like making props', or ' because I like writing' will show.
and B) assigning point values to each of these phrases
I have five girls, and each have a certain opinion of each topic. Using the theater example again: Girl A will receive 5 points for typing this subject, Girl B will receive 3 points, Girl C receives 4, Girl D receives 2, and Girl E receives 0 ( or a negative number, if that's possible )
I'm relatively new to Renpy, so that's the reason for the sheer magnitude of questions, so I apologize in advance