Non-threaded

Forums » Newbie Central » Read Thread

Introduce yourself and get to know the community.

Need help with variables!

yesterday
I can't figure out how to make it where someone can choose to add to two of four variables, without them being able to just add to all of them. Can someone please explain it to me?

Need help with variables!

23 hours ago
You can create variables by going to My Stuff->Storygames->whichever story game you want to add the variable to->edit->Variables->Create new variable.

That seems easy enough to find though, so I think I must've misunderstood your question. Could you give an example of what you are trying to do?

Need help with variables!

17 hours ago
If you're talking about giving them points to spend on stats, make a new variable as a counter that is added to each time they increase one of the others.

Or if you want to let them pick two unique options from a list, make a corresponding variable to track each one, then either move the player to the next page or lock the other links out with restrictions once two are selected.

That's the very best I can do given the incredibly vague nature of the question and no idea how how exactly you've been trying to do this.

Need help with variables!

12 hours ago
Thanks. sorry for not clarifying. what I'm doing is giving the player four base stats,
Health, Stealth, Ranged, and Melee. I want them to choose two to add to, but you can pick all four. I'm just trying to fix it.

Need help with variables!

11 hours ago
Okay then, make another variable that goes up by one when those links are clicked. When the variable reaches two, it locks them out, or else just moves the player on to the next page.

You'll need to use link restrictions for the first option, and something like
IF %VAR > 1
THEN
$DEST := @P12 (or whatever page number) in the link script.


Just saying though, RPGs can be a big undertaking for a first project, and it can also be a lot of work that doesn't leave anyone all that impressed at the end of the day. Since just clicking over and over for numbers is inherently unfun without something more to spice out up. You might consider a smaller project that just focuses on the writing first.

Need help with variables!

9 hours ago
Thanks!

anyway, i'm already an experienced writer, so I'm going to try to make this work. i have wanted to make one of these for a long time. it might fail epically, but I'm gonna' give it a shot.

Need help with variables!

3 hours ago
Well as long as you're having fun I guess that's the important thing, good luck!