A LOT of problems


#1

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…


#2

*input_text name

As for the error, it’s impossible to help you without seeing the code that brings up the error.


#3

Is this the command for setting the name:

“You are ${NAME} Simons.”


#4

In startup.txt you put the following

*create name “”

Then when you want to set the name you put

*input_text name


#5

@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?


#6

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?


#7

"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


#8

@Nocturnal_Stillness

Thanks.

@Samuel_H-Young

Thanks.


#9

@Nocturnal_Stillness
Ah, yes. Thanks


#10

@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.


#11

What does [Object event] mean?