Non-threaded
Forums
»
Newbie Central
»
Read Thread
Introduce yourself and get to know the community.
TheWoodenSworsmith
Reply
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?
Clayfinger
Reply
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?
Mizal
Reply
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.
TheWoodenSworsmith
Reply
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.
Mizal
Reply
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.
TheWoodenSworsmith
Reply
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.
Mizal
Reply
Need help with variables!
3 hours ago
Well as long as you're having fun I guess that's the important thing, good luck!
Home
Storygames
Random
Search
Newly Created
Top Rated
Fantasy
Grimdark Fantasy
Sci-Fi
Modern
Horror
Love & Dating
Mystery / Thriller
Family Friendly
Historical
Puzzles / Games
Edutainment
Fan Fiction
Forums
Newbie Central
The Lounge
News & Updates
The Parlor Room
Creative Corner
Writing Workshop
Reading Corner
Adv. Editor Forum
Wishing Well
Bugs and Problems
My Stuff
Storygames
Pictures
Messages
Notifications
Duels
Saves
Comments
Points
Commendations
Notepad
Profile
View Profile
Help & Info
CYOA History
About Us
Privacy Policy
Terms Of Service
Logon
version 23.22 | ChooseYourStory © 2001 - 2024, Halogen Studios Entertainment |
contact us