Calling functions in migration scripts
Posted: Sun Jul 03, 2016 7:39 pm
My mod has a global function that I have defined (in control.lua)
It's not recognised in migration scripts because control.lua does not run until AFTER a saved game has been loaded.
Migration scripts will not allow any 'require' statements.
Is there any way I can include the function, or do I have just copy and paste the code into my migration script?
It's not recognised in migration scripts because control.lua does not run until AFTER a saved game has been loaded.
Migration scripts will not allow any 'require' statements.
Is there any way I can include the function, or do I have just copy and paste the code into my migration script?