So, when I was doing a story, I set a variable like this:
<<set $Knowledge to $Knowledge += 1>>
But when I wrote $Knowledge, it comes out as NaN. Literally says NaN! Why?
I don't do Sugarcube 2, as I use the online version. Thanks.
This is what it looks like:
<<set $Knowledge to $Knowledge += 1>>
You now have $Knowledge!
Comments
In your StoryInit passage, place <<set $Knowledge to 0>>
You want to do this for every variable.