Very noob here, trying out a proof of concept. Is there a way to reuse this code/sentences, or at least do it in a way that I don’t have to type it multiple times? When I try using *label above those two lines, it still takes me to the French name choices when I select the Germany option. What am I doing wrong? How can I “close” the label tag?
*label pc_nationality_options
*choice
#France
*set pc_country "France"
*label newname
You come from ${pc_country}
The officer looks at you. "Last name?"
*goto pc_name_French
#Germany
*set pc_country "Germany"
*goto label newname
*goto pc_name_German
I’m pretty new myself, but in your example, it seems you’ve placed the *label newname tag under the ‘France’ choice (just below *set pc_country “France”) and under your ‘Germany’ option, you’ve placed a *goto label newname command instead of a *label newname tag, which will take you to the ‘France’ portion.
Quick note: *label pairs with a *goto of the same name.
Take a closer look. Under your #Germany choice option, you have *goto label newname. 1) this is an invalid snippet; correct one would be *goto newname, 2) see where is your newname goes.