Sorry for the late reply. Wrote this earlier but I’ve been experiencing a strange error where clicking on the Reply button to submit a post does nothing and produces no errors. Same error across multiple devices with different browsers and operating systems, which is baffling. Hopefully it’ll work now.
Edit: I have no clue what the problem was, but at least it’s working now.
Oops, yeah it should be *temp_array
, that was an oversight. Thanks for updating the wiki.
The array commands sadly don’t work in CSIDE, on DashingDon, or with the VScode CS plugin yet, as far as I’m aware, which is why you’re getting does not exist errors.
As great as the new array commands are, until the popular community tools catch up I should probably be less gung ho about recommending them. I suspect most people are probably writing and testing in CSIDE or VScode, and uploading to DashingDon.
Creating the array the old way works just as well:
*temp stat_descriptor_1 "Appalling"
*temp stat_descriptor_2 "Poor"
*temp stat_descriptor_3 "Average"
*temp stat_descriptor_4 "Average"
*temp stat_descriptor_5 "Excellent"
*temp stat_descriptor_6 "Incredible"
Isn’t that the expected behavior when changing variables in the stats screen? Changes don’t appear outside the stats screen until you refresh by going to the next page (e.g., by making a choice, entering input).
Are you saying in your main game you can look at a page with a text box, open the stats screen and toggle text boxes off, exit the stats screen by clicking the Return to the Game button, and see the text box you were looking at before entering the stats screen replaced with a choice?
Because that doesn’t seem possible with the way ChoiceScript is programmed.