So I'm not sure if this should be here or in scripts help, but anyway, here we go.
Might be a little ambitious, but I'm looking for a way to deactivate or reactivate a script entierely in-game, via a script call. Is that possible?
You probably could do this by tying the entire script to a switch, then if that switch is on, the script runs, if not the script doesn't. Probably would require an if statement at the start of all the def commands in the script though for it to work well, with it running the original command if the switch is off.
As for via a script call, maybe if that script call was set to turn on/off the switch I suggested? Otherwise no idea. Will be interested to see if there is another way to do this.
It is not possible generally speaking.
Show us the specific scripts you want to have this ability for and we may be able to help you implement in those specific scripts.
*hugs*
- Zeriab
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Yep, it'll need to be done on a script-by-script basis, where the script is conditioned to run or not run based on some rules - might be as simple as a switch or variable (if you want it to be set on a game-by-game basis). You'll need to provide details of the individual scripts - meaning links to them.