![]() Is there a workaround for this, or better yet, some way to place a script beforehand that will decide which version of the same script to run and which one to not run based on a switch's value?Īgain, thank you so much for your help so far! The issue I run into now is that by doing so, I insert modules or class definitions into a method, which comes up as an error. I wanted it so that every difficulty changes its name (it's some funky fourth-wall breaking thing I'm doing to trigger a spooky boss fight), which is why I'm trying to get the script to decide between one of two versions of itself to run based on the switch's value. ![]() I'm using the CSCA Difficulty script, alongside the LGlobalSave script, so that once my game is completed, it will save a switch saying the game is completed to load at the start of the game, which will change the difficulty listings. ![]() Not exactly an optimal way to do things, I know, but I'm pretty new to this coding thing so it's a matter of "as long as it works, it works." The code seems like it works, my issue is now that what I'm basically doing is taking an entire script and placing it within the conditional branch, so that the parent branch will use the switch to decide which version of the script to run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |