No matter what I do, my stat chart just won’t work. I keep coming up with this error line 4: invalid indent, expected at least one row. This is my code:
Dreamverse Stats
*stat_chart
text lname Name
text pname Fiance's Name
percent relation Relationship
And I do have all of these variables created and set in my startup.
Does anyone know what the issue is?
Is line 4 “Dreamverse Stats” ? If so, I think that’s the problem. I’m not sure how to change the name of the stats button, but I don’t think that’s the way to do it. Ask @Vendetta
@Kajs08 Try checking one of the other files. Maybe the problem is in one of them. I don’t know what the problem is, so I am just guessing based on my experiences. Also, it sounds a lot like you have an *if and the line below has no text or the text’s indent is wrong. Again, just guessing. So, try checking the other files and look for the error there.
@kajs08 I know you’ve resolved it now by removing the ordinary text names from within the *stat_chart (they serve no real purpose being in there anyway) but it’s worth looking at more closely as that’s a very strange one, because there’s absolutely nothing wrong with the code you have in your first post…
The error “invalid indent, expected at least one row” usually means it cannot find any indentation immediately following *stat_chart, e.g. the following will always produce that error:
Dreamverse Stats
*stat_chart
text lname Name
text pname Fiance's Name
percent relation Relationship
Equally puzzling: unless you have a blank line at the top, that error should point to line 3, not 4.
What you’re seeing seems to be somewhat different to what’s actually there (i.e. what ChoiceScript is reading). Very strange.
Grasping at straws here, but which text editor are you using?