Non-threaded

Forums » Feature Wishing Well » Read Thread

Suggestions for improvements and additions to the site.
This feature was rejected 7/31/2005: It looks like what you're asking for is "Conditional Text". This feature does exist, but it is only in "beta". This means that we may change how it is done later ... I'm not sure I'm happy with how it works now. Anyway, here is how you do it as of today ... %%HEALTH%<%Your Health is less than 10%% %%STRENGTH%>�FENCE%You can attack better than you can defend%%

if link pressed or var, display text

20 years ago

The title is very vague but here is my idea.

I want to have the editor be able to add the following idea:

On a page, 3 links,

LINK 1
LINK 2
LINK 3

All links are linked to one page but have different variable changes, link 1 has var=+1to =1, link2 has var=+2to=2, and link 3 has var=+3 to = 3.

On the page that is linked from this first page, if the variable equals 1, text on this new page should display,
"You have clicked Link 1" or something similar to this. The author can change this to whatever he or she wishes.

If the variable equals 2, text on that new page should display:
"You have clicked link 2" and same explanation as above.

if variable equals 3, you get the point.

This has nothing to do with the variable events of above and below goto page, this is just to make it easier for the author to create the next set of pages without having to create similar pages for each of those individual links (i.e. LINK1, LINK2, LINK3)

Also, if this cannot work with the variables, have a 'Link pressed, display text' instead of variable change display text.

Give it some thought, its just a suggestion.


solostrike

if link pressed or var, display text

20 years ago

It looks like what you're asking for is "Conditional Text". This feature does exist, but it is only in "beta". This means that we may change how it is done later ... I'm not sure I'm happy with how it works now. Anyway, here is how you do it as of today ...

%%HEALTH%<%10%Your Health is less than 10%%

%%STRENGTH%>%DEFENCE%You can attack better than you can defend%%

Note, do *not* bold the text -- this is only to help you see . Is this what you're looking for?

if link pressed or var, display text

20 years ago

One way I thought of doing it before was ....

--------------begin page text ----------------------------

Bla hblah this is just some page text blah blah.

[displayif: HEALTH<10] Your health is less than 10. [/displayif]

asdfasdfasdfsadf

----------------end page text--------------------------------

What do you think? I don't like all the %%%

if link pressed or var, display text

20 years ago

Those are all neat suggestions.  Here is what I have to say.

What? For the first post.

Nothing for the second.

%s are bad and [] is good.  Hey.  I just made a box.  Anyways the [didplayif: HEALTH<10] Your health is less than 10. [/displayif].    Also, while you figure out how to do that can you add a spoiler like [spoiler] A+B=C[/spoiler]?

if link pressed or var, display text

20 years ago

I don't understand how the [spoiler] would function ...

Could you elaborate on that?

if link pressed or var, display text

20 years ago
Thats what i was thinking however i also meant to add that to a link. So if variable is greater than a number, once link is clicked, text is displayed corresponding to the variable.

if link pressed or var, display text

20 years ago
You might want to make a really advanced game editor with all the new features.  Allmost everything is possible now except for passwords and pop-ups with strings of data.

if link pressed or var, display text

20 years ago
Did you try the %%VARNAME%=%2%Blahblahblah%% Thing yet? Does this cover what you were looking for?

if link pressed or var, display text

20 years ago
No i thought you had to program it first.

if link pressed or var, display text

20 years ago

Try it ... it's been in there for a while. Just didn't really tell anyone about it.

if link pressed or var, display text

20 years ago
ok cool.