Block code help please

is it possilbe to move to the next line in block code

like set text “blah blah blah” will output as

blah blah blah

but I want it to output as

blah blah
blah

@blackhole927

2 Likes

possibly, in a text device but not in an overlay. is this a theory or something you need for your game? if its for your game could you provide more details?

yeah in a text device

whenever you do smth like “set text to create text w/ “hello” and " world”", it’ll output as “hello world” but lets say I want to output as
“hello
world”

1 Like

i dont think this is possible (correct me if I’m wrong) because the text is read as a single line so it’s output as a single line.
you could use multiple text devices though.

There isn’t a vanilla solution for this, it’s one of the current unsolved problems. Use multiple text devices for multiline text.

2 Likes

Wait Blackhole you said this

There are some special characters computers support outside of standard stuff you see. One of those is the newline character. It creates a new line of text. The string "Hello \n World" (\n is the newline character) will actually be displayed as:

Hello
World

So what I did was I used code to place a property containing that character, and then that allowed me to set one text object to have multiple lines of text with block code.

so thats how you made the graphinh calc

1 Like

did that work
???

2 Likes

Yes, I used a text device for each row.

2 Likes

This is a solution that requires modding, which is why I said there are no vanilla solutions.

2 Likes

Ahh ok thanks for clarifying

Wow @Kosm0-o you sure know a lot about gimkit

likes
I’m not the only one. In fact, users like ClicClac and Blackhole are definitely better than me!

blackhole, clicclac, shdwy, wingwave, etc

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.