killmeplease
Mk Z on Steam
In my mod one of the files (lets call it file1) is set to be an InGameUIAddin to provide an entry point. it uses another file (lets call it file2) where some global variable V is declared, it is then set to some value in file1.
now i include file2 in the modded CityView.lua and try to read the value of V but its nil. it seems CityView makes its own V which isnt visible for file1 and otherwise.
so, is there a way to pass some data to CityView (except for SetScriptData)?
now i include file2 in the modded CityView.lua and try to read the value of V but its nil. it seems CityView makes its own V which isnt visible for file1 and otherwise.
so, is there a way to pass some data to CityView (except for SetScriptData)?