In KSP multiscript, “stop_wait” stops working— and $NI_CALLBACK_ID returns a negative number
I wrote a KSP multiscript for Kontakt which uses stop_wait to cut short the wait times I've applied to other events.
For the most part, the script works as I want it to. But every now and then, out of the blue, it stops working. (It ceases to stop the wait of the other events.) I was debugging it and noticed that while the script normally gives a positive number for for the $NI_CALLBACK_ID, when it stops functioning properly the script gives a negative number for the $NI_CALLBACK_ID-- (that is, a number with a hyphen in front of it.)
Right now, the only way I know to fix it is to quit VE Pro (unloading some 90 GB of ram in the process) and then reloading. This is rather time consuming. Any ideas what the problem might be and how to fix it?
(I tried a shot in the dark and tried storing the NI callback ID as its absolute value, but that didn't fix it.)
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 378 Battery 4
- 845 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators