Onemy Posted Tuesday at 02:48 AM Share Posted Tuesday at 02:48 AM I've forgotten a lot of my Lua coding knowledge... and I was wondering how you guys test your code... I know it's mostly trial and error... and coding, opening the game, and then closing it again seems a bit impractical to me... Link to comment https://forums.kleientertainment.com/forums/topic/172045-how-do-you-test-your-scripts/ Share on other sites More sharing options...
ClumsyPenny Posted Tuesday at 06:30 PM Share Posted Tuesday at 06:30 PM If you type c_save() in the console, it forces the game to save. Then you can type c_reset(), which will basically reload your world (applying your new code changes) without having to close and open the game, which is significantly faster. Keep in mind that you still need to close and open the game for it to load any new animation or texture, unfortunately. Link to comment https://forums.kleientertainment.com/forums/topic/172045-how-do-you-test-your-scripts/#findComment-1871003 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now