I’m writing a story in the third person. I want to change the description of the player mid-game. Initially, I want the player to be unknown/unnamed. Then, at some point, the player’s background is revealed and the player now has a name.
Here is how I’ve attempted to implement this:
Yourself can be anonymous or named.
When play begins:
now the story viewpoint is third person singular;
now the story tense is present tense;
now yourself is female;
now yourself is anonymous.
To say BackgroundReveal:
say "... player background stuff ...".
yourself is named.
The description of yourself is "[if yourself is named]Olivia Yeung, an antiques shop owner.[else]A mysterious woman dressed all in black.[end if]".
In the last line above, I’ve also tried [if player is named] and just [if named], but the end result (mentioned below) is the same.
At the point in the story when the player’s background is revealed, I have a line of code that looks like:
say "[BackgroundReveal]"
To test this I’ve tried the following.
- At the very start of the game, “x self” gives me the anonymous response.
- I navigate to a point where [BackgroundReveal] is printed.
- I try “x self” again. But it still gives me the anonymous response.
Can anyone see what I’m doing wrong here?
Thanks,
Mark