Anyone know a way to dynamically get the list of loaded modules at runtime of a SS 2 script?
Seth Duda
01/27/2022, 5:08 AM
Got close, but there doesn't seem to be a way unfortunately. You can include the "require" module in the define dependencies, which gets you close, but there's no method available to get all modules loaded on that module, only to check if a specific module was loaded.
b
battk
01/27/2022, 5:38 AM
cheat and overwrite the define function to store its arguments