The Grifter
Active Member
- May 28, 2017
- 746
- 1,162
- 379
A question for a scene I'm writing for myself right now...
Background, it is a scene about age roleplay, where the Actor will call the Player 'Daddy' if the Actor's age is under 30.
I'd like to make a one-time check for the Actor's age, deciding the variable for the whole scene that decides what will be displayed in the dialogue.
I tried the following:
In the beginning, after the NPC being Actor has been selected:
If Actor:age < 30
PlayerSceneTitle.setGlobalString("Daddy")
else
PlayerSceneTitle.setGlobalString("Honey")
endif
Then, during dialogue, I tried this:
Actor(Happy):: "Great idea, <PlayerSceneTitle>, I always wanted to see that art exhibition!"
What I get is then:
"Great idea, 0, I always wanted to see that art exhibition!"
Any hints how I do this correctly?
Background, it is a scene about age roleplay, where the Actor will call the Player 'Daddy' if the Actor's age is under 30.
I'd like to make a one-time check for the Actor's age, deciding the variable for the whole scene that decides what will be displayed in the dialogue.
I tried the following:
In the beginning, after the NPC being Actor has been selected:
If Actor:age < 30
PlayerSceneTitle.setGlobalString("Daddy")
else
PlayerSceneTitle.setGlobalString("Honey")
endif
Then, during dialogue, I tried this:
Actor(Happy):: "Great idea, <PlayerSceneTitle>, I always wanted to see that art exhibition!"
What I get is then:
"Great idea, 0, I always wanted to see that art exhibition!"
Any hints how I do this correctly?