Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Variables On Certain Pages

18 years ago
It would be neat if you guys could make it an option to have variables that only appear on certain pages.. like if you make a few pages at the front before it starts, it might get in the way having money before the game starts. I've got a few other minor problems with the variables on all pages as well. It would be cool if you guys could help with this. Thanks.

Variables On Certain Pages

18 years ago

Moved to ADVEDITOR Forum.

To display a variable on a page, simply use this:

HEALTH is %%HEALTH%%

 

Variables On Certain Pages

18 years ago
If your variable name is Health if its HP then %%HP%%

Variables On Certain Pages

18 years ago
Where do I put the %'s ?

Variables On Certain Pages

18 years ago
On either side of the variable name. (2 on each side)

Variables On Certain Pages

18 years ago
I meant what do I put in instead of the %'s.

Variables On Certain Pages

18 years ago

you dont put anything other than the %%'s. thats the symbols that you use. you put them in the text field if you want them to show up on the front page.examples are:

%%HEALTH%%

%%WEALTH%%

%%STEALTH%%

%%MAGIC%%

when you do that then the variable that corresponds with the name will show up on the screen in the text field.

nate

Variables On Certain Pages

18 years ago
oh whoops sorry.

Variables On Certain Pages

18 years ago
Oh, that's easy enough.

Variables On Certain Pages

18 years ago

yup, I like to go like

 

You have this much health: [color=red]%%HEALTH%%[/color].  If you reach 0 health then you will die.

Variables On Certain Pages

18 years ago
hyml codes work the same was as just using color from the text box.

Variables On Certain Pages

18 years ago
Say.. does anybody write their stories entirely in 'SOURCE'?