Page 1 of 1

Is it possible to change variable added by control.lua from a different mod

Posted: Thu Apr 15, 2021 11:51 pm
by bigmond
So if a mod adds a variable in control.lua is it possible to change that variable from another mod.

Re: Is it possible to change variable added by control.lua from a different mod

Posted: Fri Apr 16, 2021 12:36 am
by DaveMcW
You can do it from the console with

Code: Select all

/c __mod-name__ global.variable = "newvalue"
The only way to do it from a different mod is if the mod that owns the variable implements a remote interface.