Hey, I am using POL 95, and I am just learning the scripting. So I am just working off editing for now. Anyway well, I edited a .src file using the program Scripter, and just copy and pasted some pre-exsisting codes and basically just renamed it to try and see if it would work. I compiled it with no errors, and when I went in game to test it, it did not work. So I am wondering if there is a way to load/relaod the script into the game while in the game? Is there some required step like that I am missing? Possible a dot command while on the admin account like .reload script??
Thanks for your help!
Help Loading Scripts
Moderator: POL Developer
Re: Help Loading Scripts
Ah I finally figured it out. Had to .unloadall during gameplay.
Re: Help Loading Scripts
you can also use .unload (scriptname)
It'll unload all scripts matching that name.
One thing to note though, if the script is running, that instance of the script will remain running the old way. Only new instances of the script will use the new, modified version of your script (for both .unload and .unloadall).
It'll unload all scripts matching that name.
One thing to note though, if the script is running, that instance of the script will remain running the old way. Only new instances of the script will use the new, modified version of your script (for both .unload and .unloadall).