Hey huys, i just CAN’t SEEM TO understand choice script. Can you please tell me a command for in putting a text box for the people to write their name…
And i’m facing this error when i test my game…
line 4: increasing indent not allowed, expected 0 was 1
PLZ PLZ PLZ
THIS is too dificult…
*input_text name
As for the error, it’s impossible to help you without seeing the code that brings up the error.
Is this the command for setting the name:
“You are ${NAME} Simons.”
In startup.txt you put the following
*create name “”
Then when you want to set the name you put
*input_text name
@Nocturnal_Stillness
“What is your name?” The man asked.
*choice
#Jhon
Your name is Jhon
*set_name Jhon
#Adam
Your name is Jhon
*set_name Adam
#Create your own name
*input_text name
Your name is ${NAME}
LIke this?
Yes, except it’s ${name}. All variables have to be completely lower case. Also, there’s a command that allows you to keep the indents in your posts but I can’t remember it. @Nocturnal_Stillness , do you remember?
"What is your name?" The man asked.
*choiced
#Jhon
Your name is Jhon.
*set name "Jhon"
*goto next_scene
#Adam
Your name is Adam.
*set name "Adam"
*goto next_scene
#Create your own name
*input_text name
Your name is ${name}.
*goto next_scene
*label next_scene
@Samuel_H_Young
Yes its <> and </> but with pre inside
@Dragonslayer
Generally, if you get an increasing indent error, it’s because you’ve put an indent where there isn’t supposed to be one.
If it says “expected 0 was 1”, that probably means that the relevant line has a space in front of it that it shouldn’t have.
What does [Object event] mean?