New Creator: Help With Text Processor {once:} Function + (Long and Short Descriptions)

Hi,

I'm a new creator here and I wanted to mess around with the {once:} function in my game. Essentially I want a more detailed description the first time the player enters a room and then a brief description when they encounter the room again or decide "look" at the room again.

I've used the {once:} function, which works, but I've noticed that it, unfortunately, leaves a large amount of whitespace where the {once: text} was the first time before going into the rest of the description. (See below for a rendition of what happens)


Outside the Manor

You are standing at the steps of a large mansion. People in formal attire are ascending the stairs through the grand doorways. You hold an envelope in your hand.

Behind you is the carriage you just arrived from. Numerous other carriages are pulling up onto the large driveway. A large fountain with dolphins sits in front of the mansion and flocks of people wearing the most brightly colored attire and masks head towards the entrance.

look

Outside the Manor



Behind you is the carriage you just arrived from. Numerous other carriages are pulling up onto the large driveway. A large fountain with dolphins sits in front of the mansion and flocks of people wearing the most brightly colored attire and masks head towards the entrance.


I'm really not a fan of that annoying whitespace. This is what I would like it to look like:


Outside the Manor

You are standing at the steps of a large mansion. People in formal attire are ascending the stairs through the grand doorways. You hold an envelope in your hand.

Behind you is the carriage you just arrived from. Numerous other carriages are pulling up onto the large driveway. A large fountain with dolphins sits in front of the mansion and flocks of people wearing the most brightly colored attire and masks head towards the entrance.

look

Outside the Manor

Behind you is the carriage you just arrived from. Numerous other carriages are pulling up onto the large driveway. A large fountain with dolphins sits in front of the mansion and flocks of people wearing the most brightly colored attire and masks head towards the entrance.


Since I'm new here I would appreciate any help/suggestions. I've taken a look at the Text Processor Tutorial but didn't find anything to help me. Thanks!


{once:"say this"}
next line...

This will create a blank line, but:
{once:"say this"}next line...

This will not...


When you look at that text a second time, it removes everything between the {once and the corresponding }.

So if you want it to remove the newline, your text should look like:

{once:You are standing at the steps of a large mansion. People in formal attire are ascending the stairs through the grand doorways. You hold an envelope in your hand.

}Behind you is the carriage you just arrived from. Numerous other carriages are pulling up onto the large driveway. A large fountain with dolphins sits in front of the mansion and flocks of people wearing the most brightly colored attire and masks head towards the entrance.

You want the line-break to only appear once as well, so it should be before the }.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums