#Only the Saxons
*if (Saxon >= 40)
*set Saxon true
*set Army + 20
*goto_scene Final
*else (Saxon < 40)
*set Saxon false
*goto_scene Reject
#Only the Tudors
*if (Tudor >= 40)
*set Army + 10
*goto_scene Final
*elseif (Tudor < 40)
*goto_scene Reject
Okay, so the problem does seem to be indentation? You need to indent after the *if and *elseif conditionals:
*choice
#Only the Saxons
*if (Saxon >= 40)
*set Saxon true
*set Army + 20
*goto_scene Final
*else (Saxon < 40)
*set Saxon false
*goto_scene Reject
#Only the Tudors
*if (Tudor >= 40)
*set Army + 10
*goto_scene Final
*elseif (Tudor < 40)
*goto_scene Reject
You can’t have indentation under *stat_chart, but you can have more than one *stat_chart command.
So you can have:
*stat_chart
text Name
text Title
*if (might = 0)
*set might_text "You are a weak and fragile person physically"
*stat_chart
text might_text
But I agree with @TimberWoolf, I believe that string values are better displayed by simply printing it like so:
*if (might = 0)
*set might_text "You are a weak and fragile person physically"
Might: ${might_text}
The ${} is used to print the value of the variable inside.
Thanks for the help. After trying it i made this code in stats, this one is working well with me for the moment but i wanna see your opinions.
[b]Personal Dossier[/b]
[b]Name:[/b]${Name}
[b]Title:[/b]${Title}
*if (might = 0)
*set might_text "You are a weak and fragile person physically"
[b]Might:[/b] ${might_text}
Thank you! I will keep testing aggressively as I write so I don’t end up having too much to clean. It could have been a network issue who knows lol. thanks
After a bit of editing due to other errors, it worked.
Thank you 
That’s a good way of doing it.
Okay I am really get angry at this illegal mixing spaces and tabs thing, every time I try and correct it I get a different error, expected one body choice.
Now for your allies, will you ask for them to help you? (This excludes the Sidhe)
*choice
#Only the Saxons
*if (Saxon >= 40)
*set Saxon true
*set Army + 20
*goto_scene Final
*else
*set Saxon false
*goto_scene Reject
#Only the Tudors
*if (Tudor >= 40)
*set Army + 10
*goto_scene Final
*else
*set Tudor false
*goto_scene Rejection
#Only the Witch Queen
*if (Dar = True)
*set Army + 30
*goto_scene Final
*else
*set Dar false
*goto_scene Dare
*selectable_if (Army >= 30) #Lift some weights.
Then don’t mix them. ![]()
Personally I prefer tabs.
Btw, I fixed your whitespace using tabs:
*choice
#Only the Saxons
*if (Saxon >= 40)
*set Saxon true
*set Army + 20
*goto_scene Final
*else
*set Saxon false
*goto_scene Reject
#Only the Tudors
*if (Tudor >= 40)
*set Army + 10
*goto_scene Final
*else
*set Tudor false
*goto_scene Rejection
#Only the Witch Queen
*if (Dar = True)
*set Army + 30
*goto_scene Final
*else
*set Dar false
*goto_scene Dare
*selectable_if (Army >= 30) #Lift some weights.
#Options are the “child” element of the command *choice. Nest them right beneath the command.
*choice
#Option1
Text of option1
#Option2
Text of
Just pick either spaces or tabs, don’t use both. It screws up everything, at least for me.
So, i’m making 2 different childhood scenes depending in the characters but when i tried to go to them this issue appears.
*if plebeian true
*goto_scene plebeianchildhood
*if noble true
*goto_scene noblechildhood
this is the issue that happens
line 120 of prologue: invalid expression at char 13, expected OPERATOR, was: VAR [true]
the variables that i use to determine the MC’s background are true and false. Can i use numbers for them or that may arise future problems?
I can’t be too certain at the moment, but I suspect it might want you to say *if noble = true.
With booleans, though, you don’t need to specify whether the condition should be true, because they always check for true-ness.
That means you can say *if noble and it’ll assume that you’re checking if noble is set to true.
I agree with @TimberWoolf, so you said that you did set the variable true, so try the
*if (plebeian=true)
*goto_scene plebeianchildhood
and see how that goes
thanks, it worked both ways
I am in the process of putting the finishing touches on my WIP demmo, but am haveing difficulty with my stat_chart. If I put the code up, would someone be able to assist me with it?
Here is the code:
*label my_mind
[B] mc_infermation, physical [/b]
*stat_chart
text ${MC_name} name
text ${MC_surname} surname
text ${MC_fullname} fullname
text ${MC_haircolor} haircolor
text ${MC_hairlength} hairlength
text ${MC_eyecolor} eyecolor
text ${MC_hight} hight
*goto stat_navigation
*label my_personality
[B] personality [/b]
stat_chart
opposed_pair mind
heart
aposed_pair team_player
independent
opposed_pair direct
indirect monipulative
opposed_pair shigh
bold
opposed_pair diplomatic
blunt
opposed_pair stoic
emotional
aposed_pair friendly
reserved
opposed_pair pragmatic
centemental
*goto navigation_stats
*label tangibles
[B] ${MC_name}, tangible statistics[/b]
stat_chart
percentage willpower
percentage diplomatic
percentage combat
percentage awareness
percentage tactical
percentage technical
*label my_relationships
[B] personal_relationships[B/]
*stat_chart
percentage t_name
percentage l_name
percentage n_name
percentage d_name
percentige a
percentige i
Percentige g
*goto navigation_stats
*label pack
[B] pac[B/]
*stat_chart
text t_fullname
text t_hight
text t_haircolor t_hairlength t_hairstyle
text t_eyecolor
text t_build
*comment l
text l_fullname
text l_eyecolor
text l_hairlength text haircolor text hairstyle
text l_build
*comment n
*stat_chart
text n_fullname
text n_eyecolor
text n_hairlength text n_haircolor text n_hairstyle
text n_hight
text n_build
*comment D
*stat_chart
*label navigation_menue
*choice
*if stat_page !=0)
# mane_stat_page
*set stat_page0
*goto mane_stats
*if (stat_page) !=1
# my personality
*set statspage1
*goto my personality
*if stat_page !=3
# my tangibles
*set stats_page3
*goto tangibles
*if stat_page != 4
#relationships
*set stat_page4
*goto my_relationships
*if stat_page !=4
# pac
*set stat_page4
*goto pack
What is the error you are getting?
also two of the opposed pair are written aposed
*label my_mind
[B] mc_infermation, physical [/b]
*stat_chart
text ${MC_name} name
text ${MC_surname} surname
text ${MC_fullname} fullname
text ${MC_haircolor} haircolor
text ${MC_hairlength} hairlength
text ${MC_eyecolor} eyecolor
text ${MC_hight} hight
*goto stat_navigation
*label my_personality
[B] personality [/b]
*stat_chart
opposed_pair mind
heart
opposed_pair team_player
independent
opposed_pair direct
indirect_monipulative
opposed_pair shigh
bold
opposed_pair diplomatic
blunt
opposed_pair stoic
emotional
opposed_pair friendly
reserved
opposed_pair pragmatic
centemental
*goto navigation_stats
*label tangibles
[B] ${MC_name}, tangible statistics[/b]
*stat_chart
percent willpower
percent diplomatic
percent combat
percent awareness
percent tactical
percent technical
*label my_relationships
[B] personal_relationships[B/]
*stat_chart
percent t_name
percent l_name
percent n_name
percent d_name
percent a
percent i
percent g
*goto navigation_stats
*label pack
[B] pac[B/]
*stat_chart
text t_fullname
text t_hight
text t_haircolor
text t_hairlength
text t_hairstyle
text t_eyecolor
text t_build
*comment l
*stat_chart
text l_fullname
text l_eyecolor
text l_hairlength
text haircolor
text hairstyle
text l_build
*comment n
*stat_chart
text n_fullname
text n_eyecolor
text n_hairlength
text n_haircolor
text n_hairstyle
text n_hight
text n_build
*comment D
*label navigation_menue
*choice
*if (stat_page!=0) #mane_stat_page
*set stat_page0
*goto mane_stats
*if (stat_page!=1) #my personality
*set statspage1
*goto my personality
*if (stat_page!=3) #my tangibles
*set stats_page3
*goto tangibles
*if (stat_page!=4) #relationships
*set stat_page4
*goto my_relationships
*if (stat_page!=4) #pac
*set stat_page4
*goto pack
Your goto’s and labels are all out of wack. You have a *goto stat_navigation, a *goto navigation stats, a *goto mane_stats, these are not uniform. The labels also just don’t exist. Once you match your labels with the *gotos, it should work fine.
Thanks for the help! I am in the process of fixing my lables. Seems I forgot I never actually finished the stat_chart.
However, now i’m running to. Arror message is:
"choicescript_stats line 4, could not extract another token, :${mc_name}
The line, line 4 currently contains:
text ${mc_first} name
Not exactly sure why this is happening? I have the variable ${mc_first} “”. So, unsure on why it’s doing that.
Also. Format for the “finish” command? What ever I try, it keeps giving me the "play again, buttons. Currently I have:
*finish (Hay. It's not that long. Right?)
Tried a few more different formats, but uunsure why it’s not takeing me to my next signe file.
