Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Does this mean I have to script...?

9 years ago

I hate scripting. angry

It makes my head confused, gives me a headache, and when that goes away, I can never get it right.

However, I get the feeling I will have to with a story game of mine. It's a Pokemon story game, and I want a variable to appear on the page stating the level of your Pokemon, for example, BULBASAUR 3, saying he is level three. However, this has to be on every page. And if you don't have a bulbasaur, it would be confusing.

Do I have to use scripting to make the variable only appear on pages after, say, page four?

Does this mean I have to script...?

9 years ago
IF $PAGEID > 4 THEN
BEGIN
$PAGETEXT := $PAGETEXT + "Bulbusaur Level: " + %BULBLEVEL
END

That's what it would look like. You'd put it in the Global Page script. The editor can be overwhelming at first, but we can help you out if you're willing.

Does this mean I have to script...?

9 years ago

Thanks. I suppose I could give scripting a try, buts it's not like I'll be doing anything serious with it anytime soon!

Does this mean I have to script...?

9 years ago

You have very good grammar for someone who wants to write a pokeman story game. You should give scripting a try though. I think you can do it.