Page 1 of 1

Now it's line breaks (MILD SUCCESS)

Posted: Thu Dec 13, 2012 6:50 am
by vorebane
At this point, I almost want to make a general 'vorebane needs help with simple things' thread.

I want to have various notes laying around saying long winded things. However, the '\n' the reference suggests doesn't work for me. Is \n supposed to be a script specific thing? I will have to rejigger a lot of things in that case.

Re: Now it's line breaks

Posted: Thu Dec 13, 2012 6:54 am
by Diarmuid
Multiple-line strings, there you go (snippet from my dungeon):

Code: Select all

local message = spawn("scroll")
message:setScrollText([[
	The First Circle
	
	Four shrines, four elements.
	Study them carefully, master their essence.
	]])

temple_alcove_46:addItem(message)

Re: Now it's line breaks

Posted: Thu Dec 13, 2012 7:06 am
by vorebane
This will work, but I was hoping for something that would let me use notes and not mess about with scripting. Ah well. Off to converting everything!

Re: Now it's line breaks

Posted: Thu Dec 13, 2012 7:10 am
by msyblade
You can use "Enter" and "Spacebar" just like wall text :) You can stagger the 4 lines of text this way if u like!:)