Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Entering an Answer for a Puzzle

9 years ago

Not really good at the advanced editor, but I need to know how to make it so I can enter an answer to a puzzle. I want it to have links A-Z to make it harder to guess the answer, but I don't want to make 676 separate pages for every possibility. Is there any way to use the advanced editor to do this?

Entering an Answer for a Puzzle

9 years ago
Until someone who knows what they are doing responds...

Consider this:
- Having a Variable for each letter, when a link on a page is pressed said variable goes up by 1.

NOW:
On page. %%A%=%1%A%% %%B%=%1%B%% ---- etc.
THEN %%A%=%2%A%%

You would line it up something like. %%A%=%1%A%% %%B%=%1%B%% %%A%=%2%A%%

With 1 being the first letter, 2 the second. And so on. ALSO so that it changes by how much a number is increasing.
Have 1 link for A that sets to 1, then another that sets A to 2, IF LETTERTOTAL = 1. So each link adds one to letter total.

Just think along those lines... I just realized that my way doesn't account for picking the same letter twice. I am sure there is some way tho.

THEN AGAIN just wait for someone who knows what they are doing unless you want to try and figure it out yourself. Seen it done so it must be possible.

Entering an Answer for a Puzzle

9 years ago

I'm sure there's an easier way to do it with scripting, but what you could do with the basic editor is:

You need as many pages as there are letters in the answer.  They should all look the same.

Each page has links for A-Z.

Only the link for the correct letter goes to the page of the next letter in the answer.  All the other links go back to the first page of entering the answer. 

--------------

If you have the advanced editor, you could set it up the same way, but:

Set up a variable X

Have all letters link to the next page, but only the correct choice also increases X by one.

When you get to the end, the options are "you got it wrong" and "you got it right."  

"You got it right" is either grayed out or invisible unless X=(whatever the number of letters in the correct answer is) 

Entering an Answer for a Puzzle

9 years ago

Thanks, that helps a lot.

Entering an Answer for a Puzzle

9 years ago

Is there any way to copy and paste pages, or at least the links?

Entering an Answer for a Puzzle

9 years ago
Sadly no.