Hello, masters
In my quest to code, i've a new problem. I try to create some events, and there's my code :
"LilyCarter1" : {
relationship : 8,
flag : "LilyCarter",
pgender : "male",
eventcontent : [
["image", "LilyCarter/event1/1.webp"],
["slug", "In the middle of the night, a phone call from police wakes you up. $Bio[$ModelSelected].name is in jail and she wants you have to release her."],
["$ModelSelected", "Hi $Player.name! Can you just pay and make me free?"],
["image", "LilyCarter/event1/2.webp"],
["aside", "Fuck, she's really drunk! But so fuckin' hot!"],
["player", "Hey $Bio[$ModelSelected].name! I don't know if it's a good idea. You're completely drunk!"],
["slug", "She grabs bars of jail, out of mind."],
["$ModelSelected", "Release me, motherfucker!"],
["image", "LilyCarter/event1/3.webp"],
["player", "I don't know. Maybe if you were a little bit kinder..."],
["slug", "Her glaze and her voice become instantly sluttier."],
["image", "LilyCarter/event1/4.webp"],
["$ModelSelected", "I can be really kind..."],
["slug", "She removes her shorts."],
["image", "LilyCarter/event1/5.webp"],
["$ModelSelected", "You're right, I'm drunk...and I'm horny too."],
["image", "LilyCarter/event1/6.webp"],
["$ModelSelected", "Release me and I'll show you how a drunk bitch cums."],
["image", "LilyCarter/event1/7.webp"],
["slug", "She starts rubbing in her thong and moaning like a whore."],
["image", "LilyCarter/event1/8.webp"],
["aside", "Wow, she's dripping wet!"],
["$ModelSelected", "I'll cumming for you $Player.name! You'll make me cum !"],
["image", "LilyCarter/event1/9.webp"],
["slug", "She screams her orgasm and fall on the ground. Without any explanation, you pay the fine and bring $Bio[$ModelSelected].name at home."]
["aside", "What a show ! I hope there is a following..."],
["slug", "But, she seems to have completely forgotten the night when she wakes up..."]]
},
No problem in loading my .lsm, but when the relationship point is coming, toobad :
Error: <<RelationshipEvent>>: error within widget contents (Error: <<if>>: bad conditional expression in <<if>> clause: State.variables.RelationshipEvents[State.temporary.eventName].eventcontent[State.temporary.j] is undefined)
Can you give me a hint to understand why ?
In my quest to code, i've a new problem. I try to create some events, and there's my code :
"LilyCarter1" : {
relationship : 8,
flag : "LilyCarter",
pgender : "male",
eventcontent : [
["image", "LilyCarter/event1/1.webp"],
["slug", "In the middle of the night, a phone call from police wakes you up. $Bio[$ModelSelected].name is in jail and she wants you have to release her."],
["$ModelSelected", "Hi $Player.name! Can you just pay and make me free?"],
["image", "LilyCarter/event1/2.webp"],
["aside", "Fuck, she's really drunk! But so fuckin' hot!"],
["player", "Hey $Bio[$ModelSelected].name! I don't know if it's a good idea. You're completely drunk!"],
["slug", "She grabs bars of jail, out of mind."],
["$ModelSelected", "Release me, motherfucker!"],
["image", "LilyCarter/event1/3.webp"],
["player", "I don't know. Maybe if you were a little bit kinder..."],
["slug", "Her glaze and her voice become instantly sluttier."],
["image", "LilyCarter/event1/4.webp"],
["$ModelSelected", "I can be really kind..."],
["slug", "She removes her shorts."],
["image", "LilyCarter/event1/5.webp"],
["$ModelSelected", "You're right, I'm drunk...and I'm horny too."],
["image", "LilyCarter/event1/6.webp"],
["$ModelSelected", "Release me and I'll show you how a drunk bitch cums."],
["image", "LilyCarter/event1/7.webp"],
["slug", "She starts rubbing in her thong and moaning like a whore."],
["image", "LilyCarter/event1/8.webp"],
["aside", "Wow, she's dripping wet!"],
["$ModelSelected", "I'll cumming for you $Player.name! You'll make me cum !"],
["image", "LilyCarter/event1/9.webp"],
["slug", "She screams her orgasm and fall on the ground. Without any explanation, you pay the fine and bring $Bio[$ModelSelected].name at home."]
["aside", "What a show ! I hope there is a following..."],
["slug", "But, she seems to have completely forgotten the night when she wakes up..."]]
},
No problem in loading my .lsm, but when the relationship point is coming, toobad :
Error: <<RelationshipEvent>>: error within widget contents (Error: <<if>>: bad conditional expression in <<if>> clause: State.variables.RelationshipEvents[State.temporary.eventName].eventcontent[State.temporary.j] is undefined)
Can you give me a hint to understand why ?