Page 2 of 2

Re: Spawn Scroll and setScrollText

Posted: Mon Aug 10, 2015 10:16 pm
by Falkenwrath
I having trouble with this. I have a floor trigger connected to a lua script to spawn a scroll message before going through a door using this script on the posts.

local message = spawn("scroll")
message.scrollitem:setScrollText("This is an important\nmessage!")

after selecting the script entity for the floor trigger. the third box the comes up after I targeted the lua script is half cut off by the border of the window. resizing doesn't help. this prevent me from using the third box.....

The most likely problem is that I don't completely understand the process.. I learn way faster if someone is talking me through it. read doesn't always click right away lol..

Re: Spawn Scroll and setScrollText

Posted: Mon Aug 10, 2015 11:15 pm
by THOM
You can resize the width of the mainwindow (the one with the map-layout in it) and/or the hight of the preview window. Just finde the point at their borders where you can "grap" them with the mousepointer.

Then you should be able to reach every part of the editing area.