You need a *goto_scene in order to progress. As to the name issue, are you sure the variable are the same? {mc_name} and {mc_first} name are not the same
Aah. On the wiki, it said the *finish sent you to the next scene file. Hmmm.
Does the mane page of my stats page have to be at the bottom of the document? Right now, as of now, I have:
*label mane_stat_page
My mental records
*create stat_page0
*choice
# mane_stat_page
*set stat_page0
*goto mane_stat_page
#my personality
*set stat_page1
*goto my_personality
#my tangibles
*set stat_page2
*goto tangibles
*if stat_page != 3
#relationships
*set stat_page3
*goto my_relationships
*if stat_page !=4
# pack_infermation
*set stat_page4
*goto pack
*create stat_page1
*label my_mind
I am a little unsure how to get the variables involved though. I canât just *create them, it seems. Have not really worked on the stats_chart, and the wiki doesnât give much on general overall formatting. Neither does the signe file, when wanting to have different compartments for different catigories of stats. Think I fixed the Gotos and lables, though, at least.
*finish does send you to the next scene. You do need to have the scenes listed in the scene_list, though. (The names of the scenes are the names of the .txt files theyâre in.)
Is there any way to run through an alpha test, file by file, instead through the hole game? Just realized, itâs going to get quite long, if I have to run through 5 or 6 files multiple times because of arrors in file 7.
Are you using Quicktest and Randomtest? Now; if you mean not just automated tests but an actual playthrough sort of test, you can quickly put a *goto at the beginning of the story to warp you straight to the area you want to test and bypass the first few chapters. Possibly with some preset stats too if starting with everything at zero might make proceeding too difficult at that late stage. Just make sure to delete all that after you are done.
I figured out the goto_scene.
However, I am running into a problem. Would someone look over it and see what I seem to have missed?
The arror message I am cuurrently getting is:
âLine 1883, not a number: falceâ
Here are the lines of code around 1883.
# ${t_name}. I say, smirking.
*set impulsive %+10
*set t_relationship %+3
*set stubborn %+10
*set choose_t true
"Ok. I say, smirking slightly. If your so concerned? You come, then, ${t_name}.
*if (stubborn) = true
*goto Deardra
*else
*set team_player %+10
*goto Deardra
You have this
*set stubborn %+10
and this
*if (stubborn) = true
one is in number form and the other in true or false form so which one is it?
Heh. True. Didnât think that could happen? But, looking back on it. Yeah, makes sence now. Fixed it. Thanks! smiley.
Could someone walk me through this a bit, so I can fix it? Not sure how to set up the variables on the stat_chart. Here is my code so far:
My mental records
*temp stat_page0
*choice
# mane_stat_page
*set stat_page0
*goto mane_stat_page
#my personality
*set stat_page1
*goto my_personality
#my tangibles
*set stat_page2
*goto tangibles
*if stat_page != 3
#relationships
*set stat_page3
*goto my_relationships
*if stat_page !=4
# pack_infermation
*set stat_page4
*goto pack
I have the various stat portions down, though not sure how to connect it all, or how to get the variables to work correctly without a create, or temp, neither of which seem to work on the stat_chart.
@Righter â Here is my code I use:
*label navigation_menu
*choice
*if (stat_page != 0) #Return to the main stat page.
*set stat_page 0
*goto main_stat_page
*if (stat_page != 1) #View personal stats.
*set stat_page 1
*set anti_repeat 1
*goto personal_stat_page
*if (stat_page != 2) #View relationship status.
*set stat_page 2
*goto relationship_stat_page
*if (stat_page != 3) #View family stats..
*set stat_page 3
*goto clan_stat_page
*if (stat_page !=4) #View glossary
*set stat_page 4
*goto glossary_stat_page
#Return to the game.
*finish [i]Back to the Game[/i]
Here are the variables I created in Start-Up
*comment Selectable_if variables - first created 6/24/20 Latest update 7/07/20
*create selectable_if 1
*create stat_page 0
*create anti_repeat 0
The stat page is just like any other Choice Script file for scripting purposes.
I think I have it down, though when I try to run it, it keeps saying:
Startupline 17: invalid create instruction, stat_page was created on line 15.
Or:
Stat_page 8: invalid variable: stat_page1.
The latter was before I set up the other stat_page variables, the former is happening now.
Here is my code for reference:
*comment stat_page_variables
*create selectible_if 1
*create stat_page 0
*create anty_repeat 1
*create stat_page 1
*create stat_page 2
*create stat_page 3
*create stat_page 4
comment stat_page code**
*label mane_stat_page
My mental records
*choice
*if (stat_page !=0) # mane_stat_page
*set stat_page0
*goto my_stats_page
*if (stat_page !=1) #my personality
*set stat_page1
*goto my_personality
*if (stat_page !=2) #my tangibles
*set stat_page2
*goto tangibles
*if (stat_page !=3) #relationships
*set stat_page3
*goto my_relationships
*if (stat_page !=4) # pack_infermation
*set stat_page4
*goto pack
# return to the game
*finish [I]Back to the game[/I]
stat_page 1
does not = stat_page1
In your variable creation, you need to be more precise
In my example, I use one variable called âstat_pageâ.
Then in the script, I set that one variable to: 1, 2, 3, or 4, depending on what stat-page the reader chose to visit.
So. I have all the variables set up, correctly, I hope. However, when I try to open startup with the variables:
*create selectible_if 1
*create stat_page 0
*create anty_repeat 0
*create selectible_if 2
*create stat_page 1
*create anty_repeat 1
*create selectible_if 3
*create stat_page 2
*create anty_repeat 2
*create selectible_if 4
*create stat_page 3
*create anty_repeat 3
*create selectible_if 5
*create stat_page 4
*create anty_repeat 4
I assume you do that for all the stat pages, it has a problem with the fact that I have multiple menchons of selectible_if, stat_page, and I assume, anty_repeat. I am unsure how to fix this, since if I donât put a space between at least the selectible_if and number, and stat_page and number, it doesnât seem to see it is a variable, and will say something like:
"
Startup line 15, invadlid create instruction, no value spesafide"
In this case, startup line 15 has the stat_page0 variable.
So. Yeah. Could anyone help me fix this? Please?
Not going to lie @ArchivistAlpha096 that code looks meaningless. You create the same variable over and over but with different values, and iâm not sure why you are creating a variable called âselectible_ifâ since that is a coding command. (thought it would be *selectable_if)
Every time you *create a variable with the same name as a previous one it will re-write the previous variable value with the new value. Iâm not even sure if choicescript will allow you to create the same variable multiple timesâŚ
They are trying to duplicate my creation of variables that I showed above ⌠the variable âselectable_ifâ in my script takes the place of a temporary variable, since I need this variable in multiple scenes, it is easier to create once than to remember to create the temp variable each time I need it. (in my weird mind anyways.)
What would I do, if I want to have multiple strings of text, such as something like:
âShort red hairâ
Would Concatonate work for that? Unsure, cause it seems to imply that it only works for nameing convencions. Also, anything extra I would have to put in startup for that to work?
So. I am running through another section of my game, so I can update it, but. For what ever reason, the firefox is not saying the name variable. Not sure if this is something Iâm doing? Or, something with the surver? Will put up the snipat of code for reference.
*if (choose_t) =true
"${mc_fullname}. I hear ${t_name}'s voice. Are you alright.
"Do I. I wrasp. Look. Alright, to. you?
"You do not. says the ${t_person}.
"Then. I grunt. You just answered your own question. Didn't you?
"Do you need assistance? ${t_name} asks, tone. Not quite, concerned? But. There is, something, there. I only grunt in reply.
*goto Ash_drained
This actualy has happened a few times before? Not sure whatâs going on. Anyway.
I think you forgot the $ before the brackets in those places.
Also, ChoiceScript is case sensitive, so Iâd make a habit of writing all your gotos and labels in all lower case.
Another *if question. Well, sort of. Getting an arror. Not exactly? Sure how this particular *if formats?
Here is the code:
*if(t_relationship)=>60
Keep getting arrors when on that part of the scene. Unsure what I am doing wrong, and the wiki isnât all that much help. Not for something like this, anyway, unfortunitly.
you need a space after *if, after the parantheses, after the =>