I'm using Iarva's text sound plugin to make it so there's sounds whenever text is typed, however, I want to give players the option to turn this off.
I've done this via the options menu. I'm using another plugin called DreamX options, which lets me add a Switch to the options menu that players can toggle.
So, what I do is I have a switch called Disable Text Sounds. This then runs a common event as seen here:
As you can see, it just turns the text sound volume to either 50 or 0.
So, it all works. The question I have is about Paralell processes. I honestly don't understand much about them other than you don't want too many of these running at once and that they're like an Update function in Unity or other languages. With the common event, I did try and set the trigger to Autorun at the top, but then it would let me change the option, but once I tried to exit back to the game, it would freeze the game. I assume this is because nothing was telling the common event to stop running. I tried adding Exit Event Process commands in that common event, but it didn't do anything, and there's no way for me to use a Self Switch because Common Events don't seem to have those.
So, with this parallel process that does work, is it actually still running in the background? Do I need to tell it to stop checking somehow?
Thanks.
I've done this via the options menu. I'm using another plugin called DreamX options, which lets me add a Switch to the options menu that players can toggle.
So, what I do is I have a switch called Disable Text Sounds. This then runs a common event as seen here:
As you can see, it just turns the text sound volume to either 50 or 0.
So, it all works. The question I have is about Paralell processes. I honestly don't understand much about them other than you don't want too many of these running at once and that they're like an Update function in Unity or other languages. With the common event, I did try and set the trigger to Autorun at the top, but then it would let me change the option, but once I tried to exit back to the game, it would freeze the game. I assume this is because nothing was telling the common event to stop running. I tried adding Exit Event Process commands in that common event, but it didn't do anything, and there's no way for me to use a Self Switch because Common Events don't seem to have those.
So, with this parallel process that does work, is it actually still running in the background? Do I need to tell it to stop checking somehow?
Thanks.