So I’m making a scene with people talking, and there is a next button to skip to the set of text. But the code will keep going after I pressed it. I used a message block to send a message to it once pressed. I tried to use a switch block but idk where to connect it. Im using a text list each block and It doesn’t stop. help pls
1 Like
You need to make sure that it will end after all scenes are shown to the players. Then use Message and Switch behavior to turn off the output gate, which doesn’t let the text come out so they won’t keep showing text or use Destroy behavior so when the Message send the signal, the object used to show scene would be destroy.
2 Likes
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":4,"outputCount":2,"name":"Advanced Text","behaviorType":"logic.NodeGroup","x":720,"y":0,"group":"","id":"a90455cf2592104e","notes":"For Boxlion","n_o":1,"isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":-256,"group":"a90455cf2592104e","id":"a90455d02d25c94c","portId":"a90455cf2592104ei0","tag":"Text","dataType":1},{"delay":3,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":90,"y":-256,"group":"a90455cf2592104e","id":"a90455d034989a46"},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":-320,"group":"a90455cf2592104e","id":"a90455d02d555044","portId":"a90455cf2592104eo0","tag":"Text","dataType":1},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":450,"y":-320,"group":"a90455cf2592104e","id":"a90455d0d523b04e","startVal":""},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":90,"y":-320,"group":"a90455d137f63747","id":"a90455d0829a4441","startVal":""},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-90,"y":-272,"group":"a90455d137f63747","id":"a90455d0e4449e4c","notes":"If you wanted to go by words instead of letters, change this to be \" \". That's a SPACE","n_o":1,"startVal":""},{"inputCount":7,"outputCount":5,"name":"Text List","behaviorType":"logic.data.TextList","x":450,"y":-320,"group":"a90455d137f63747","id":"a90455d0110bad46","startVal":[],"copy":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":-320,"group":"a90455d137f63747","id":"a90455d05cd05043","portId":"a90455d137f63747i0","tag":"Text","dataType":1},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":990,"y":-320,"group":"a90455d137f63747","id":"a90455d0fbd4c841","portId":"a90455d137f63747o0","tag":"Done","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":630,"y":-256,"group":"a90455d137f63747","id":"a90455d0a8f72349","portId":"a90455d137f63747o1","tag":"Text","dataType":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":270,"y":-192,"group":"a90455d137f63747","id":"a90455d183ffad48","portId":"a90455d137f63747i1","tag":"Pop","dataType":2},{"inputCount":1,"outputCount":1,"name":"Text List Order","behaviorType":"logic.data.ListOrder","x":270,"y":-320,"group":"a90455d137f63747","id":"a90455d1d2050b49","mode":2,"copy":true,"numSort":false},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":810,"y":-192,"group":"a90455d137f63747","id":"a90455d1e85aae4d","portId":"a90455d137f63747o2","tag":"Get","dataType":2},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":630,"y":-192,"group":"a90455d137f63747","id":"a90455d1f711f045"},{"inputCount":1,"outputCount":1,"name":"Text List Count","behaviorType":"logic.data.ListCount","x":630,"y":-320,"group":"a90455d137f63747","id":"a90455d1465fd54f"},{"gateVal":1,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":810,"y":-320,"group":"a90455d137f63747","id":"a90455d1f35e514e"},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":90,"y":-192,"group":"a90455d137f63747","id":"a90455d1e188a243"},{"inputCount":2,"outputCount":3,"name":"Split Text","behaviorType":"logic.NodeGroup","x":270,"y":-256,"group":"a90455cf2592104e","id":"a90455d137f63747","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":-176,"group":"a90455d1c493184e","id":"a90455d16b84934e","portId":"a90455d1c493184ei0","tag":"Text","dataType":1},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":-96,"group":"a90455d1c493184e","id":"a90455d1eef94049","portId":"a90455d1c493184ei1","tag":"Skip","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":0,"group":"a90455d1c493184e","id":"a90455d166eb3a42","portId":"a90455d1c493184ei2","tag":"Speed","dataType":2},{"inputCount":3,"outputCount":0,"name":"Advanced Text","behaviorType":"logic.NodeGroup","x":990,"y":576,"group":"a90455cf2592104e","id":"a90455d1c493184e","notes":"For Boxlion","n_o":1,"isMenuItem":false},{"inputCount":7,"outputCount":5,"name":"Text List","behaviorType":"logic.data.TextList","x":810,"y":576,"group":"a90455cf2592104e","id":"a90455d1e7153a47","startVal":["That's awesome!","What's your name?","Nice to meet you!"],"copy":false},{"inputCount":0,"outputCount":2,"name":"Keyboard","behaviorType":"logic.triggers.Keyboard","x":630,"y":576,"group":"a90455cf2592104e","id":"a90455d159188f4c","keyCode":13},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-90,"y":-400,"group":"a90455cf2592104e","id":"a90455d1ab46c241","startVal":""},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":450,"y":-400,"group":"a90455cf2592104e","id":"a90455d11597a34b","portId":"a90455cf2592104eo1","tag":"Done","dataType":2},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-90,"y":-128,"group":"a90455cf2592104e","id":"a90455d1389e3e4d","startVal":""},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":270,"y":-128,"group":"a90455cf2592104e","id":"a90455d1d58af148"},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":-256,"group":"a90455cf2592104e","id":"a9053cff71b2fc47","portId":"a90455cf2592104ei1","tag":"Start","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":-192,"group":"a90455cf2592104e","id":"a90551a22f6ec846","portId":"a90455cf2592104ei2","tag":"Speed","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-270,"y":-128,"group":"a90455cf2592104e","id":"a905524d568e9242","portId":"a90455cf2592104ei3","tag":"Skip","dataType":2}],"links":[{"input_id":"a90455d1ab46c241i1","output_id":"a90455d02d25c94co0"},{"input_id":"a90455d137f63747i0","output_id":"a90455d02d25c94co0"},{"input_id":"a90455d1389e3e4di0","output_id":"a90455d02d25c94co0"},{"input_id":"a90455d137f63747i1","output_id":"a90455d034989a46o0"},{"input_id":"a90455d02d555044i0","output_id":"a90455d0d523b04eo0"},{"input_id":"a90455d1d2050b49i0","output_id":"a90455d0829a4441o1"},{"input_id":"a90455d0829a4441i4","output_id":"a90455d0e4449e4co0"},{"input_id":"a90455d1e188a243i0","output_id":"a90455d0e4449e4co0"},{"input_id":"a90455d1465fd54fi0","output_id":"a90455d0110bad46o0"},{"input_id":"a90455d0a8f72349i0","output_id":"a90455d0110bad46o2"},{"input_id":"a90455d1f711f045i0","output_id":"a90455d0110bad46o2"},{"input_id":"a90455d0829a4441i0","output_id":"a90455d05cd05043o0"},{"input_id":"a90455d0e4449e4ci1","output_id":"a90455d05cd05043o0"},{"input_id":"a90455d0110bad46i2","output_id":"a90455d183ffad48o0"},{"input_id":"a90455d0110bad46i4","output_id":"a90455d183ffad48o0"},{"input_id":"a90455d0110bad46i0","output_id":"a90455d1d2050b49o0"},{"input_id":"a90455d1e85aae4di0","output_id":"a90455d1f711f045o0"},{"input_id":"a90455d1f35e514ei1","output_id":"a90455d1465fd54fo0"},{"input_id":"a90455d0fbd4c841i0","output_id":"a90455d1f35e514eo0"},{"input_id":"a90455d0110bad46i2","output_id":"a90455d1e188a243o0"},{"input_id":"a90455d0110bad46i4","output_id":"a90455d1e188a243o0"},{"input_id":"a90455d11597a34bi0","output_id":"a90455d137f63747o0"},{"input_id":"a90455d0d523b04ei3","output_id":"a90455d137f63747o1"},{"input_id":"a90455d034989a46i0","output_id":"a90455d137f63747o2"},{"input_id":"a90455d1c493184ei0","output_id":"a90455d1e7153a47o2"},{"input_id":"a90455d1e7153a47i4","output_id":"a90455d159188f4co0"},{"input_id":"a90455d0d523b04ei0","output_id":"a90455d1ab46c241o0"},{"input_id":"a90455d0d523b04ei0","output_id":"a90455d1389e3e4do0"},{"input_id":"a90455d1d58af148i0","output_id":"a90455d1389e3e4do0"},{"input_id":"a90455d11597a34bi0","output_id":"a90455d1d58af148o0"},{"input_id":"a90455d0d523b04ei1","output_id":"a90455d1d58af148o0"},{"input_id":"a90455d034989a46i0","output_id":"a9053cff71b2fc47o0"},{"input_id":"a90455d034989a46i2","output_id":"a90551a22f6ec846o0"},{"input_id":"a90455d034989a46i1","output_id":"a905524d568e9242o0"},{"input_id":"a90455d1389e3e4di1","output_id":"a905524d568e9242o0"}]}}}
Here’s a custom Text Lister that I made a while back for Boxlion
1 Like
Hii thanks for the help but I don’t really understand how to use it do you maybe have an example for me to see? I don’t know where to add my text. thanks again :')
Text - This is the message you are displaying
Start - This just activates the bundle
Speed - This is how fast it will all be spelt out
Skip - This instantly outputs the entire message
Text Output - Outputs the text as it us being typed out
Done output - Once the message is finished, this will output
It’s very easy to use, just connect your message to the “Text” (purple) input and it does the rest.
1 Like