You must have at least the script within your module, that's what I think, and then you can use the development folder.
But I wouldn't advise it for PWs, at least not for long. If you want to test something, really fast, that will work. Beware, includes don't work that way.
It's perfectly usable for a PW to drop the ncs into the server's /dev folder. The only reason to clear it out from there is for organisation reasons to prevent confusion I.E. if you then make further changes to the module's version of the script, as the /dev version continues to win priority.
You can do it while the server is live, but it obviously only affects new executions of the script. I believe you also need to avoid changing a script that's currently in-waiting with a DelayCommand.
My reason for asking is I need a faster way to test changes to custom AI scripts.
So I could fight/observe the creature. Kill it. Edit the custom AI script, recompile and drop the ncs in the development folder, then respawn it and repeat?
Comments
But I wouldn't advise it for PWs, at least not for long. If you want to test something, really fast, that will work. Beware, includes don't work that way.
If you have to change an include, you can recompile all scripts that refer to it, and drop them in development.
Useful for, say, fixing a single player module without changing the original.
+1 for the PW comment, though.
You can do it while the server is live, but it obviously only affects new executions of the script. I believe you also need to avoid changing a script that's currently in-waiting with a DelayCommand.
So I could fight/observe the creature. Kill it. Edit the custom AI script, recompile and drop the ncs in the development folder, then respawn it and repeat?