Change lua without restart

gia

Chieftain
Joined
Sep 30, 2013
Messages
60
I got to learn a bit this weekend and just tested, I can change my xml, rebuild and just reload the mod and the changes stick. I can rebuild my dll, rebuild the mod, and again, the changes stick. But it seems I have to reload the whole game to get lua to change.

Any way I can avoid this? it takes a LONG time to reload the game.

Also, any way to not have to reload the mod after every game? sometimes I dont want to reload anything, just start a new game with the same mod version.
 
hmm, I can run arbitrary code into the game (im gonna guess like js, defining functions into the environment if I want to) that should help, but now I have to wrap my head around it, bleh, thanks
 
For designing UI elements I find positioning them in game in the tuner very helpful. But I too am curious if there's a way to manage complex scripts in game. It is very frustrating constantly reloading because I have some issue I'm having debugging.
 
Back
Top Bottom