Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Is there any way to see scripts you have saved?

11 years ago

Okay, I have made my first foray into scripting. I typed a link script and saved it. I know it is there and that it works, but is there any way that I can actually view what I typed into the script?

Is there any way to see scripts you have saved?

11 years ago

There's a scripts tab in your storygame that has all the scripts in your game.

Is there any way to see scripts you have saved?

11 years ago

Yes, but when I open the script, it shows only the blank editor.

Is there any way to see scripts you have saved?

11 years ago

Are you sure you're going to the right script? Add me as co-author for a minute or take a screen shot to show what you're doing.

Is there any way to see scripts you have saved?

11 years ago

You're added.

Is there any way to see scripts you have saved?

11 years ago

I see two link scripts.

Link - prepare yourself and Link - Direct a gust of wind at him. Both can be clicked and both have scripts inside of them.

So I'm not really sure what the issue is.

Is there any way to see scripts you have saved?

11 years ago

Still, it's not showing me the scripts inside them. It might be something about the settings.

Is there any way to see scripts you have saved?

11 years ago

Maybe. Try doing it in a different browser or something.

Is there any way to see scripts you have saved?

11 years ago

Boom! Thank you, Firefox. And you too, Killa. I'm gonna go ahead and remove you from the co-author list, if you don't mind.

Is there any way to see scripts you have saved?

11 years ago

I already removed myself, but okay haha.

Is there any way to see scripts you have saved?

11 years ago

Oh, I forgot they added that feature. Anyway, you have proved most helpful. I wish there was some way I could compensate you for your help, but there really isn't. Thank you, regardless.

Is there any way to see scripts you have saved?

11 years ago

Um, usually, you use the word "compensate" when you have wronged somebody. Did you wronged Killa?

Is there any way to see scripts you have saved?

11 years ago

No, I meant compensate as in "compensate you for your time". It simply means to clear any perceived debt.
 

Is there any way to see scripts you have saved?

11 years ago

Don't be so pedantic.

Is there any way to see scripts you have saved?

11 years ago

Or, you know, you can see them on the actual page of the link that you scripted. How goes scripting, anyhow? :D

Is there any way to see scripts you have saved?

11 years ago

Well, that wasn't working for me either, but I would say it's going good. I'm working on a few games that would benefit from the inclusion of scripting. So, I've been doing stuff like:

MONSTHP:=MONSTHP-PLYRDAM

Is there any way to see scripts you have saved?

11 years ago

A dash? What for? Also, don't forget to include the percentage signs. They're essential. 

Is there any way to see scripts you have saved?

11 years ago

Oh yes, and $ for system variables. Sorry, I have included them when scripting. Trust me. You're much better than I am, so you may receive a pm or two asking for advice.

Is there any way to see scripts you have saved?

11 years ago

Sure. No problem. :D

But one last question. Why is there a dash in one of your variable? You know that variables can only contain numbers and letters, right?

Is there any way to see scripts you have saved?

11 years ago

(It's probably a minus sign)

Is there any way to see scripts you have saved?

11 years ago

Oh. He didn't put a space between them. I know you don't have to, but I usually do it, to make the codes easier to read. 

Is there any way to see scripts you have saved?

11 years ago

MONSTHP:= MONSTHP - PLYRDAM

Is there any way to see scripts you have saved?

11 years ago

What do they stand for? xD

Is there any way to see scripts you have saved?

11 years ago

MONSTHP is a variable representing the hp of an enemy. It is set immediately before a fight.

PLYRHP is a variable representing the hp of the player.

MONSTMAXHP is a variable representing the max hp of a monster. It is set immediately before a fight.

PLYRMAXHP is a variable representing the max hp of the character. 

MONSTDAM is a variable representing the damage inflicted by an enemy.

PLYRDAM is a variable representing the damage inflicted by the player. It changes depending on the type of attack.

Is there any way to see scripts you have saved?

11 years ago

I see. That's a good start! 

Is there any way to see scripts you have saved?

11 years ago

Thanks. I can let you look over the game sometime, if you would like.

Is there any way to see scripts you have saved?

11 years ago

Sure. I'll take a look. 

Is there any way to see scripts you have saved?

11 years ago

It's nowhere near presentable right now, though, and I'm working on setting up a few good fights. I'll get back to you when it's a little closer to being done.

Is there any way to see scripts you have saved?

11 years ago

I'll be here, when you do. (Hopefully. xD)

Is there any way to see scripts you have saved?

11 years ago

Okie Dokie.