Problems with Value (1 Viewer)

SDT-FAN

Potential Patron
Joined
Dec 14, 2012
I try to explain as short as possible this.

initial_settings:{"ral":1}
general:"[gene*ral*]"
gene1:"Sentence one"
restart:"*FINISHES*"
finish1:"[FT]"
FT:"Finish Text"{"set":{"ral":2}}
gene2:"Sentence two"

The log shows changes in value. However, the second sentence is showing blank. sometimes ...

Edit: corrected The double quotes on set ...
 

Pim_gd

Content Creator
Joined
Jan 25, 2013
Oooh, it's a puzzle!

DialogueChecker is your friend, you know.
I have to say I spotted the mistake myself, prior to reaching for the checker.
Probable improper use of set attribute on line 6, col 17 near "(...) Text"{set:{"ral":2}}"
Wrap set in double quotes, like so: "set":
Line 6: FT:"Finish Text"{set:{"ral":2}}

Failed to properly parse line-attributes for line 6, parsing stopped at col -1 (ERROR) at ",set:{"ral":2}}"
It seems you made improper use of a line-attribute. The set line-attribute has to be surrounded with double-quotes, like so: "set"
Line 6: FT:"Finish Text"{set:{"ral":2}}
Your set line-attribute is broken due to improper syntax. As for the changes in value - I don't see those here, except "storing ral = 1".

Did this not solve your problem? Post the full dialogue and I'll help you sort it out.
 

SDT-FAN

Potential Patron
Joined
Dec 14, 2012
Pim_gd said:
Oooh, it's a puzzle!
Thank you for the sarcasm, I use your tool very often, thanks for that, but here I just forgot double quotes.
Pim_gd said:
DialogueChecker is your friend, you know.
:P
Pim_gd said:
Your set line-attribute is broken due to improper syntax. As for the changes in value - I don't see those here, except "storing ral = 1".
Wich improper syntax now? ... You dont mean the forgotten double quotes?!
 

Pim_gd

Content Creator
Joined
Jan 25, 2013
I actually like puzzles.
...
Is it still broken?

If so, mind posting a log where you encountered empty lines?
 

SDT-FAN

Potential Patron
Joined
Dec 14, 2012
Maybe there was a Problem with a {"mood"} Syntax. Because after removing these it works ....
 

Pim_gd

Content Creator
Joined
Jan 25, 2013
Hang on.
I don't see these in your example. Mind posting your full dialogue? That way I'll be able to tell you what went wrong. If you're concerned about releasing a work-in-progress you can PM me.
 

SDT-FAN

Potential Patron
Joined
Dec 14, 2012
dialogue_name:"TEST"
DEFAULT:
all:"CLEAR"
CUSTOM:
initial_settings:{"ral":1}
general:"[gene*ral*]"
gene1:"Sentence one"{"mood":"Normal"}
cum_on_face:"CUM ON FACE"
restart:"*FINISHES*"
finish1:"The ...[FT]"
FT:"Finish Text"{"set":{"ral":2}}
gene2:"Sentence two"{"mood":"Happy"}

0: Loading custom dialogue.
------------------------------
1: Reading initial settings.
2: Okay.
3: Storing ral = 1
4: Adding custom line: "CUM ON FACE"
5: Adding custom line: "[gene*ral*]"
6: Adding custom line: "Sentence two"
7: Adding custom line: "*FINISHES*"
8: Adding custom line: "Sentence one"
9: Adding custom line: "Finish Text"
10: Done.
------------------------------
11: Playing line "[gene*ral*]"
12: Playing line "Sentence one"
13: Playing line "CUM ON FACE"
14: Playing line "*FINISHES*"
15: Playing line "Finish Text"
16: Storing ral = 2
17: Playing line "[gene*ral*]"
18: Playing line "[gene*ral*]"
19: Playing line "[gene*ral*]"
*Manual Change Mood to Happy*
20: Playing line "[gene*ral*]"
21: Playing line "Sentence two"
Jap it was the Mood Syntax, i could not get it in my own Dialogue but i could reproduce it here.
 

T0mcat

Avid Affiliate
Joined
Feb 5, 2012
@SDT-FAN - see PM

@general

Using lines said by HER as important triggerlines is dangerous, when her mouth is full.. So if you want some action to set a variable to change something in the flow of a dialogue, always use it with thought or him style.

Using restart can be a problem, as it isn't always triggered correctly. Even swallow sometimes triggers more or less often than one would expect.
 

SDT-FAN

Potential Patron
Joined
Dec 14, 2012
@T0mcat - see PM

@general

Actually, I am more of a consumer as an artist. But I like to share my evidence emerges with the technical intricacies of the dialogue system.
 

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.