- Jul 28, 2019
- 256
- 172
No there was no empty space after. Tried removing the space before, and setting MOVE_FIRST: true as well (it was originally that way but tried again to make sure). Here's the lpscene, not pretty but it works... at least from the console...First, make sure there's no empty space character after "SCENE_ALWAYS: Matchmaker"
Then, it shouldn't matter but maybe try MOVE_FIRST: true ?
If that doesn't work, post your lpscene on here
I have tried WHAT: none and WHAT: Matchmaker without any change of behaviour.
Code:
WHAT: all
WHERE: home
WHEN: 0 - 24
WHO: none
OTHER: !isWithCompanion
SceneStart()
Ongoing = true
While Ongoing
setBackgroundCustom(hallway)
"My friends are single, perhaps I should invite them over?"
0:: "Yes"
1:: "No"
If 1
SceneEnd()
ElseIf 0
"Who do I want to find a date for?"
selectNPC(!Actor1.hasRelationship(Dating, Spouses))
Actor1 = getSelectedNPC()
Actor1.dress()
Actor1.show(2)
"<Actor1.name> could do with a partner."
0:: "I think I know who to match them with"
1:: "On second thoughts they can stay single"
If 1
SceneEnd()
ElseIf 0
"They would be a good fit for..."
selectNPC(!Actor2.hasRelationship(Dating, Spouses))
Actor2 = getSelectedNPC()
Actor2.dress()
Actor2.show(3)
If !Actor1.isInterestedIn(Actor2)
"<Actor1.name> did not seem interested in <Actor2.name>"
If !Actor1.isInterestedIn(Actor2)
SceneEnd()
If !Actor2.isInterestedIn(Actor1)
"<Actor2.name> did not seem interested in <Actor1.name>"
If !Actor2.isInterestedIn(Actor1)
SceneEnd()
"Where shall I entertain my guests?"
0:: "Kitchen"
1:: "Living room"
If 0
setBackgroundCustom(kitchen)
"We decided to go to the kitchen"
change = Random(0,2)
Actor1:matchmaker => (Actor1:matchmaker + change)
Actor2:matchmaker => (Actor2:matchmaker + change)
limit1 = Actor1:matchmaker
If limit1 > 5
Actor1:matchmaker => 5
EndIf
limit2 = Actor2:matchmaker
If limit2 > 5
Actor2:matchmaker => 5
EndIf
"I think my friends are start to like one another but I can't be sure"
SceneEnd()
ElseIf 1
setBackgroundCustom(livingroom)
"We decided to go the the living room"
change = Random(0,1)
Actor1:matchmaker => (Actor1:matchmaker + change)
Actor2:matchmaker => (Actor2:matchmaker + change)
limit1 = Actor1:matchmaker
If limit1 > 5
Actor1:matchmaker => 5
EndIf
limit2 = Actor2:matchmaker
If limit2 > 5
Actor2:matchmaker => 5
EndIf
dat = (Actor1:matchmaker + Actor2:matchmaker)
If dat > 9
addNpcRelationship(Dating, Actor1, Actor2)
"<Actor1.name> and <Actor2.name> have started dating. What a matchmaker I was!"
SceneEnd()
ElseIf
"Maybe my friends like each other a little more. I don't know?"
EndIf
Ongoing = false
EndIf()
EndIf()
EndIf()
SceneEnd()