Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

urnam0's editor questions thread

12 years ago

The first of what will probably be many questions I will have about the editor (which is why I decided to make a single thread for them).

How can I change the leading (http://en.wikipedia.org/wiki/Leading) in my stories? I want to make the leading 50% between each line rather than 0%, which seems to be the default.

Thanks for your help!

urnam0's editor questions thread

12 years ago

Try this

<p style="line-height: 6px; font-size: 12pt"> TEXT </p>

Example:

Line one

Line Two

Line Three

Line Four

 

Yep, seems to work ^-^

urnam0's editor questions thread

12 years ago

Just to wrap this answer up, I actually did find out how to do what I wanted to do: <p style="line-height: 13.5px; font-size: 9px">

urnam0's editor questions thread

12 years ago

Next question:

I want to make my story so that there are no visible End Game and Leave Comments links in the entire story the first time it's played through, but, after the last page of the storygame loops back to the first page of the storygame, an unhidden End Game and Leave Comments link appears on every page of the storygame. In other words, only after you've reached the last page of the entire storygame do the End Game and Leave Comments links become unhidden and visible. What is the simplest way to do this?

 

urnam0's editor questions thread

12 years ago

The only way to do this is to use variable restrictions. When they loop back, you can change a variable called ISLOOPBACK(or something like that) to 1 to make the links appear. This will require quite a bit of repetitiveness, as you have to create endgame links and the restriction on every page. Would be cool if this could be done with scripting, so that you could use Global Scripts(they run on every page) so that you dont have to create the restrictions, but the Scripting Code Referance says theres no variable to change that(unless changing the text of a link to nothing destroys the link(you could try this even if it doesnt do that if you are okay with a bullet with no text after)

*looks at wall of text*

Shit.

urnam0's editor questions thread

12 years ago

Mini Wall O Text yes - but true  =)

Just restrict the End Game Links not to show until your last page sets the Variable to show them.

Also, remember to check the 'Allow More than once' box (or whatever it is called) on any links in the entire game that you want the player to be able to click on when they go back to any particular page a second or more times.

urnam0's editor questions thread

12 years ago

I forgot to thank galobtter and BerkaZerka for their answers. I successfully followed their advice and git er doned.

urnam0's editor questions thread

12 years ago

Third question:

How can I make the Score variable not show up when a reader Ends Game and Leaves a Comment in the Comments section?

urnam0's editor questions thread

12 years ago

Reset it to zero on the last page (or) write your story in the basic editor (as it does not use any Variables).

Yes, I realize the second option doesn't make sense for what you are doing  ;)

urnam0's editor questions thread

12 years ago

Thanks. But don't many comments have a Score of 0 still, which indicates that even Scores of 0 get posted in the Comments section?

urnam0's editor questions thread

12 years ago

Yes, Advanced Editor Games always show SCORE (even if zero, because it wasn't used in the game) - While Basic Editor Games never show Score - that's why you see some showing Score and some not in the Comments  =)

urnam0's editor questions thread

12 years ago

You can do global scripting to add the end game link to each page if a variable meets a certain condition.

Would save you a lot of time....

urnam0's editor questions thread

12 years ago

It's too late for this story, but I will study the Help articles on scripting and learn how to do this for next time.

urnam0's editor questions thread

12 years ago

How do you do that?

urnam0's editor questions thread

12 years ago

Hmm, well looking back on it, it may not be as possible as I thought it was....

You can edit link text and destinations, but I'm thinking the link needs to already exist in order for you to do that (which sucks).

He could also cheat and just give them an item that allows them to go to End Game link at any point.

urnam0's editor questions thread

12 years ago

That's a good idea - Sort of like the Secret Door Card in the Kill Aman's Mustache Game  =)

urnam0's editor questions thread

12 years ago

The card was handy.