How would I go about changing the text in a game depending on the character’s variables? I don’t just mean words like “he” or “she”, I mean large chunks of text.
For example, if I wanted the game to say, “Oh Christopher, I’m so proud to hear that you want to take on the family business!” if the main character is a man, but have it say, “You want to take on the family business? But Christina, everybody knows that the manufacturing of rubber chickens is a man’s job!” if the main character is female, how would I do that?
*if male
"Oh Christopher, I'm so proud to hear that you want to take on the family business!"
*if female
"You want to take on the family business? But Christina, everybody knows that the manufacturing of rubber chickens is a man's job!"
I had such huge difficulties wrapping my head around ifs in the first game I made. It gets easier. You can use ifs about anywhere, and even nest them or have multiple conditions.