1.) Anyone know of a way to combine ‘*if’ and ‘*disable_reuse’ in a single choice? I tried to put it in the choice body itself, but it wasn’t disabled unless I chose the option twice, which shouldn’t have been possible.
2.) Any way to remove the numbers from ‘*percent stat’ in stat screens?
–(NBD, really, but sometimes the number seems unnecessary for some purposes.)
3.) Any way to disable a choice for a second ‘*rand roll’ of the same set of variables?
–(For instance, let’s says there’s 4 volunteers, and ‘*rand roll’ is used twice to pick both from the four. There’s a chance that the player could end up with the same volunteer for both rolls. I’d like to eliminate that chance.)
Forget 1.), I was reviewing the old guides and saw how it was originally done with booleans, and that ended up working. Should you have another way, I’d still love to hear it though, for future obstacles.
As for 3.), it’s hard to test because of *rand, but are you able to compare two different variables for equality (*if dr1 = dr2), because that would make it simpler to just put a *goto etc to begin a new roll of a second die.
I’ve put it in, but it’s hard to know if it worked because the chances of dr1 = dr2 aren’t frequent, and even if it did work, I wouldn’t be able to know if it re-rolled to fix the problem.
Now (assuming I haven’t messed up) it’ll always print person_one and person_two as two different people, as it’ll randomly select 1 to 4 for person_one, than keep randomly selecting 1 to 4 for person_two until it gets something that is not equal to person_one. Now, this can cause problems, but (assuming you don’t try to get too fancy and mess things up) it should work for a simple solution.
This will do the same thing, except is causes person_two to have a higher chance of being the person directly after person_one on the list of 1 to 4, so, if you get person_one set as 3, you’ve got a 50% chance of person_two turning up as 4 and 25% chance of it coming up as 1 or 2. That’s fine in some things, not in others. Just another option.
Haha! Fixed my *percent problem too :D! Autodidactic tendencies ftw.
This one’s a bit more open-answered; how do YOU use stats to determine choices and events?
I can’t seem to help but throw out a *set – %+ – willy-nilly without really planning/checking on how big the increase of the stat goes or how I even plan on using that stat. Then again, I have been blindly blundering through everything so far, without much of a storyboard to be working off of…
But before I really go on on anything, I’d like to know how you guys alter stats and use them, even if for nothing than to review.
Much like yourself, @Caddmuss, I throw about "*set %+/-"s wherever they seem applicable. It doesn’t make for much of a balanced game, admittedly, but when one makes it an interactive story rather than a gamebook, I think such things can be more or less overlooked.
Just as long as it makes sense, anyway.
Edit:
Also, spreadsheets are your friend if it ever looks like your stats are spiraling out of control.
As Closet said, spread sheets are great to keep track of how high/low things can get (not that I’d make use of them, that’s too smart a way for me). On the plus side of fairmath, once your story reaches a certain length, you really can just do whatever you want with *set %+/- as it auto corrects itself once you get to the point where you can hit 90 or so in either range (or less, if you have less stringent number requirements.
On the other hand, most of my important stuff I find I’m sticking in booleans (true/false) or text strings.
OK, just learning that italics and bolds SHOULD be possible in CS, though when I use the wiki’s method, it doesn’t translate. I get italic text instead of italic text. I remember reading about their being an upgraded version of CS or something like that - does that have something to do with it?
Edit:
This isn’t too bad a case of threadomancy is it? I mean, my thread’s still on the first page of the Help category.
If you google “choicescript github” and go to the first result (dfabulich), you can download the latest version there. You just need to swap out your mygame.js and scene files to the newly extracted .zip
I’m not sure about the necro, it’s on what I’d deem the border.
Generally speaking I wouldn’t post in something more than 1 or 2 weeks old unless it is very directly relevant (e.g. feedback on a game in its own thread).