It is a value.
false and true are there to help you.
See them like this...
initial_settings:{"wasPulledDown":"false"}
pulled_down:"Hey, don't push me!" {"set":{"wasPulledDown":"true"}}
restart:"That was fun, wasn't it?" {"check":{"wasPulledDown":"false"}}
restart:"That was fun! But don't push me next time, okay?" {"check":{"wasPulledDown":"true"}}
Now compare it with this...
initial_settings:{"wasPulledDown":0}
pulled_down:"Hey, don't push me!" {"set":{"wasPulledDown":1}}
restart:"That was fun, wasn't it?" {"check":{"wasPulledDown":0}}
restart:"That was fun! But don't push me next time, okay?" {"check":{"wasPulledDown":1}}
With the numbers, it's a bit harder to read. Boolean values can simplify your understanding of how a dialogue might work. In programming languages, they're a good way to get or store a firm yes or no - something either is, or something is not.
Now you could just go "wasPulledDown":"well yeah maybe I guess so" and SDT will happily accept it but that's just going to make your dialogue rather unwieldy.
Now if you were to see this in action... you can take just about any dialogue with a non repeating intro... here's one from
f93 (Latex model)
initial_settings:{"introset":"false"}
intro:"[introDone*introset*]"
introDonefalse:"[LOOK_UP]So you're the one who e-mailed me begging for a private photoshoot.ББББББББББББ[intro1]"
intro1:"I just had to know who this* YOU* person was, and I was БББpleasantlyБББ surprised.ББББББББББББ[intro2]"
intro2:"[CLOSE_EYES]A handsome young man with a latex fetish[OPEN_EYES] who was just my type.ББББББББ[intro3]"
intro3:"How about this - I'll suck you off in[LOOK_DOWN] this outfit before you take pictures of me,ББББББББББББ[intro4]"
intro4:"And after that, we can get a little more[BLINK]...БББББББ creative."{"set":{"introset":"true"}}
introDonetrue:"[general]"
You see what will happen here?
intro plays.
[introDone*introset*] - introset is "false", so we get introDonefalse.
introDonefalse plays. This leads to intro1.
intro1 plays. This leads to intro2.
intro2 plays. This leads to intro3.
intro3 plays. This leads to intro4.
intro4 plays. introset is set to "true".
No more lines are played...
until a couple seconds later.
intro plays (because still no deepthroat, I guess)
[introDone*introset*] - introset is "true", so we get introDonetrue.
introDonetrue plays. This leads to general.
And so we manage to play the intro once, and play generic general lines later!
(Once again, example dialogue here courtesy of
f93 (link to dialogue thread), go play his dialogues, they're pretty good)