Hello all! I apologize if this is the wrong area of the forums. I was currently trying to set up a system where the player could choose their desired pronouns:
She/Her/Hers
He/His/Him
They/Their/Them
I was able to set up a custom prefab with the desired labeled buttons above but was stuck on figuring the best way to go at it from there. Similarly to the player's name, I would just have the desired variable read in the dialogue. For example, Third Person Subjective, Third Person Possessive, Honorific, etc. would change accordingly in the dialogue. I'm pretty sure I'm going to have to create a C# script. I found a similar coded using another application called Fungus. https://github.com/zelgadis/fungus-gendered-terms
Last edited by justloveme94 on 05 Dec 2021 05:55, edited 1 time in total.
You can define and set multiple custom variables values to correspond with the choice taken. Then you can inject the variable value into the naniscript, like {possessivePronoun} becomes his, her or their as an example.
I was looking at the guide regarding the button action but when I place the playscript on the button but it only comes up as monoscript under the function. Secondly, how do I reference the variable I am trying to change? If a player pressed the He/Him, His Button, what would the PlayScript look like? @ThirdPossSubject = he;