I’m trying to create a scenario where the relationship is shown as “Unknown” on the stat screen until the player meets the character and then I want to set the immediate stat as 50 to start out. I’ve managed to have it say Unknown until the player meets them thanks to other topics and tutorials but the starting number stays at zero and I haven’t been able to make it start as 50. Also because of my set up this way I cannot figure out how to allow the player to select the gender. I get an error saying "Not a number: “woman” " or man depending. Can anyone help me? I’d really appreciate it.
Of course they don’t quite work. I’ve been using tutorials and whatnot on how to do these so they might be a bit wonky as I’ve tried to put them together. Oh! And yes I use tabs instead of spaces. Not sure if that makes a difference but it is easier for me.
One thing, you definitely need separate variables for the boss’s gender as opposed to the boss’s relationship. You can’t *set boss “man” and then *set boss %+50 because it will try applying the number change to the word.
I’m not sure how well variables handle capitalization, so you will probably want to keep them lowercase to be on the safe side.
I don’t think you want to be dealing with a *temp variable unless you’re only going to use it in a single scene. Otherwise, it’d be best to stick with just *create in the startup.txt file.
THANK YOU. I finally figured it out! it might not be the best or easiest solution but it did work so I’m going to take it So I did delete the *temp variable as suggested and I kept almost all the other code I had but I created a new variable for the gender choice with a misspelling of “boss” so I know they’re the same character but different functions. So one of the variables is for the number and the other is for the gender. It worked perfectly!
Thank you guys so much! If anyone knows an easier way that would be nice but this works out perfectly for now