Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Struggling... With stats

11 years ago

Alright, since I'm a total scrub I want to find out this. How do you work stats?

Struggling... With stats

11 years ago

Not exactly sure, but if you mean storygame stats, I'm pretty sure this should be in the Advanced Editor place.

Struggling... With stats

11 years ago

Explain your problem clearly. What stats? For what? What can't you figure out?

Struggling... With stats

11 years ago

I've seen in other story games people have implemented stats e.g strength, dexterity and magic etc. I want to know how to be able to set them up... It's hard to explain. 

Struggling... With stats

11 years ago

Actually, yes, it is Very Hard to explain (because it is incredibly involved) - If you want to use Stats in a game that actually do something, you can't avoid diving into the Scripting Articles and trying to learn it as you go. Best thing to do is create a Test Game, where you can play around with stuff to see how it all works together.

Good Luck!   =)

Struggling... With stats

11 years ago
hi,
I can tell you how to set them up, but how to make them actually make a difference I don't know.
steps:
1. create a game and make advanced and set up the difficulty level and stuff.
2. go to variables.
3. create ones for your stats, STRENGTH, BRAINS, etc.
4. make a page to raise and lower your stats. put something like this.
strength: %%STRENGTH%%
smartness: %%BRAINS%%
stuff like that.
5. Create links to raise and lower those variables, such as raise strength by 10, raise smartness by 10, etc.
6. Set the variable changes, like for a link, raise strength by 10, set it to change each time you click it. To do that, in the drop down list, go to plus or > or whatever, put 10. check the checkbox after that so you can do it over and over again.
7. go to link restrictions if you want your link to become unclickable after the stat reaches 100.
8. Set it to be unclickable if the variable STRENGTH or whatever is 100. in the dropdown menu go to <= and type 100 in the edit box, then press close and save or whatever.
9. I haven't tested this. Make a stat sheet as and item, then make it go to the stats page at the beginning, except you have to make a back to story link or something to get back to the story. So just copy and paste the stat sheet at the begining and put it as the page for when you use your stat sheet item.
There, now you've created your stats. I hope this makes sence to you, and I hope it works, since i've only tested it once.