Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Help with character stats

8 years ago

A while ago, I played a game called "Choice of the Rockstar" and thought it was, to put it lightly, REALLY bad. So I decided to come up with my own storygame, inspired by that concept of "rock'n roll". However, since it's my first game, I've ran into some trouble with the advanced editor.

It's about my character's stats. So far, I've had no trouble setting up variables and that kind of stuff. The problem is that I would like these stats to show up gradually, instead of having them all appear right at the first page, you know?

This is particularly bothersome, because I wanted to have a stat called "singing skill", but if it shows up on the first screen, people will be OBLIGATED to have a character that sings, thus removing any kind of choice on the matter. And I don't want that to happen.

So, is there any feature that would allow me to do this? Or am I stuck in a creative limbo? (lol)

Help with character stats

8 years ago

Make it conditional in a global page script, so that, for instance, if the player is a singer (e.g. where the %SINGER variable is 1), it'll add the Singer Skill variable (e.g. %SNGSKILL) to the end of the page. It'd look something like:

IF %SINGER = 1 THEN $PAGETEXT := $PAGETEXT + "<p>Singing Skill: " + %SNGSKILL + "</p>"