Text Input Field not appearing
Posted: Fri Apr 24, 2020 3:00 pm
Hello,
I'm somewhat stuck trying to Show the text Input field:
When though I checked the Forum toroughly, the script command "TextInput(Text Field UI, Code, TextInput)" doesn't work and causes a Syntax error.
Why does this happen and is there a solution?
Dialogue System: Lua code 'TextInput(Text Field UI, Code, TextInput)' threw exception 'Code has syntax Errors:
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 1, Col 16 'F': Failed to parse Letter of Name.
Line 1, Col 16 'F': Failed to parse Name of VarName.
Line 1, Col 16 'F': Failed to parse 'nil' of NilLiteral.
Line 1, Col 16 'F': Failed to parse Text of BoolLiteral.
Line 1, Col 16 'F': Failed to parse '0'...'9' of Digit.
Line 1, Col 16 'F': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 16 'F': Failed to parse Name of VariableArg.
Line 1, Col 16 'F': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 16 'F': Failed to parse Expr of ExprStmt.
Line 1, Col 12 'e': Failed to parse Letter of Name.
Line 1, Col 12 'e': Failed to parse Name of VarName.
Line 1, Col 12 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 12 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 12 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 12 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 12 'e': Failed to parse Name of VariableArg.
Line 1, Col 12 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 12 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 12 'e': Failed to parse Letter of Name.
Line 1, Col 12 'e': Failed to parse Name of VarName.
Line 1, Col 12 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 12 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 12 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 12 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 12 'e': Failed to parse Name of VariableArg.
Line 1, Col 12 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 12 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 33 'e': Failed to parse Letter of Name.
Line 1, Col 33 'e': Failed to parse Name of VarName.
Line 1, Col 33 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 33 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 33 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 33 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 33 'e': Failed to parse Name of VariableArg.
Line 1, Col 33 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 33 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 16 'F': Failed to parse ')' of GroupExpr.
Line 1, Col 10 '(': Failed to parse Letter of Name.
Line 1, Col 10 '(': Failed to parse Name of VarName.
Line 1, Col 10 '(': Failed to parse 'nil' of NilLiteral.
Line 1, Col 10 '(': Failed to parse Text of BoolLiteral.
Line 1, Col 10 '(': Failed to parse '0'...'9' of Digit.
Line 1, Col 10 '(': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 10 '(': Failed to parse Name of VariableArg.
Line 1, Col 10 '(': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 10 '(': Failed to parse Expr of ExprStmt.
Line 1, Col 10 '(': Failed to parse remaining input.
'
UnityEngine.Debug:LogError(Object)
PixelCrushers.DialogueSystem.Lua:RunRaw(String, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:219)
PixelCrushers.DialogueSystem.Lua:Run(String, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:120)
PixelCrushers.DialogueSystem.ConversationModel:GetState(DialogueEntry, Boolean, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:233)
PixelCrushers.DialogueSystem.ConversationModel:GetState(DialogueEntry) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:297)
PixelCrushers.DialogueSystem.ConversationController:OnFinishedSubtitle(Object, EventArgs) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Controller/ConversationController.cs:224)
PixelCrushers.DialogueSystem.ConversationView:FinishSubtitle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:391)
PixelCrushers.DialogueSystem.ConversationView:OnFinishedSubtitle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:398)
PixelCrushers.DialogueSystem.Sequencer:FinishSequence() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:487)
PixelCrushers.DialogueSystem.Sequencer:Update() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:480)
I'm somewhat stuck trying to Show the text Input field:
When though I checked the Forum toroughly, the script command "TextInput(Text Field UI, Code, TextInput)" doesn't work and causes a Syntax error.
Why does this happen and is there a solution?
Dialogue System: Lua code 'TextInput(Text Field UI, Code, TextInput)' threw exception 'Code has syntax Errors:
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 2, Col 1 : Failed to parse Letter of Name.
Line 2, Col 1 : Failed to parse Name of VarName.
Line 2, Col 1 : Failed to parse 'nil' of NilLiteral.
Line 2, Col 1 : Failed to parse Text of BoolLiteral.
Line 2, Col 1 : Failed to parse '0'...'9' of Digit.
Line 2, Col 1 : Failed to parse (Digit)+ of FloatNumber.
Line 2, Col 1 : Failed to parse Name of VariableArg.
Line 2, Col 1 : Failed to parse firstTerm of OperatorExpr.
Line 2, Col 1 : Failed to parse Expr of ExprStmt.
Line 1, Col 16 'F': Failed to parse Letter of Name.
Line 1, Col 16 'F': Failed to parse Name of VarName.
Line 1, Col 16 'F': Failed to parse 'nil' of NilLiteral.
Line 1, Col 16 'F': Failed to parse Text of BoolLiteral.
Line 1, Col 16 'F': Failed to parse '0'...'9' of Digit.
Line 1, Col 16 'F': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 16 'F': Failed to parse Name of VariableArg.
Line 1, Col 16 'F': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 16 'F': Failed to parse Expr of ExprStmt.
Line 1, Col 12 'e': Failed to parse Letter of Name.
Line 1, Col 12 'e': Failed to parse Name of VarName.
Line 1, Col 12 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 12 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 12 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 12 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 12 'e': Failed to parse Name of VariableArg.
Line 1, Col 12 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 12 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 12 'e': Failed to parse Letter of Name.
Line 1, Col 12 'e': Failed to parse Name of VarName.
Line 1, Col 12 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 12 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 12 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 12 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 12 'e': Failed to parse Name of VariableArg.
Line 1, Col 12 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 12 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 33 'e': Failed to parse Letter of Name.
Line 1, Col 33 'e': Failed to parse Name of VarName.
Line 1, Col 33 'e': Failed to parse 'nil' of NilLiteral.
Line 1, Col 33 'e': Failed to parse Text of BoolLiteral.
Line 1, Col 33 'e': Failed to parse '0'...'9' of Digit.
Line 1, Col 33 'e': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 33 'e': Failed to parse Name of VariableArg.
Line 1, Col 33 'e': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 33 'e': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 11 'T': Failed to parse Letter of Name.
Line 1, Col 11 'T': Failed to parse Name of VarName.
Line 1, Col 11 'T': Failed to parse 'nil' of NilLiteral.
Line 1, Col 11 'T': Failed to parse Text of BoolLiteral.
Line 1, Col 11 'T': Failed to parse '0'...'9' of Digit.
Line 1, Col 11 'T': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 11 'T': Failed to parse Name of VariableArg.
Line 1, Col 11 'T': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 11 'T': Failed to parse Expr of ExprStmt.
Line 1, Col 16 'F': Failed to parse ')' of GroupExpr.
Line 1, Col 10 '(': Failed to parse Letter of Name.
Line 1, Col 10 '(': Failed to parse Name of VarName.
Line 1, Col 10 '(': Failed to parse 'nil' of NilLiteral.
Line 1, Col 10 '(': Failed to parse Text of BoolLiteral.
Line 1, Col 10 '(': Failed to parse '0'...'9' of Digit.
Line 1, Col 10 '(': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 10 '(': Failed to parse Name of VariableArg.
Line 1, Col 10 '(': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 10 '(': Failed to parse Expr of ExprStmt.
Line 1, Col 10 '(': Failed to parse remaining input.
'
UnityEngine.Debug:LogError(Object)
PixelCrushers.DialogueSystem.Lua:RunRaw(String, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:219)
PixelCrushers.DialogueSystem.Lua:Run(String, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:120)
PixelCrushers.DialogueSystem.ConversationModel:GetState(DialogueEntry, Boolean, Boolean, Boolean) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:233)
PixelCrushers.DialogueSystem.ConversationModel:GetState(DialogueEntry) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:297)
PixelCrushers.DialogueSystem.ConversationController:OnFinishedSubtitle(Object, EventArgs) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Controller/ConversationController.cs:224)
PixelCrushers.DialogueSystem.ConversationView:FinishSubtitle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:391)
PixelCrushers.DialogueSystem.ConversationView:OnFinishedSubtitle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:398)
PixelCrushers.DialogueSystem.Sequencer:FinishSequence() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:487)
PixelCrushers.DialogueSystem.Sequencer:Update() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:480)