WatchNon-threaded

Forums » Advanced Editor Forum » Read Message

Talk about it. Ask for help on it. Compliment it.

Variables on One Page

one year ago

I want the option to be able to put one of my variables on a certain page, so I can have the variable only show until you change the page you are on.

Variables on One Page

one year ago
Moved to advanced editor forum because this is already a thing. Just put %%NAME%% on a page and it will display the value of that variable (in this case name) where you put it.

So if you wanted the variable "health" on a page you would do:

Health: %%HEALTH%%

Variables on One Page

one year ago

Is that scripting?

Variables on One Page

one year ago
You'd put this right on the page with the rest of the text:

Health: %%HEALTH%%

And when you play the game it will read:

Health: X

Where X is the numeric value of the player's current health.

Variables on One Page

one year ago

How do I put the value of the variable? For example if I wanted to say my character had 20 health where would I write the value in?

Variables on One Page

one year ago
That value will be whatever the character's current health is. On your first page, it would be whatever the initial health was set as. Changes to that value will come from your events/scripting.

Variables on One Page

one year ago
Sort of, but you put it on the page, not in any scripts.

Variables on One Page

one year ago
This article by the lovely and talented BerkaZerka deals with it.

Variables on One Page

one year ago
http://chooseyourstory.com/forums/advanced-editor-forum/message/20743

Bah. Nobody help this kid, we all tried to a month ago and apparently it didn't stick.