Get the value of a setting in a mod.
GetSetting( <setting_name>, [<mod_name>] )
- setting_name: The name of the setting to get the value of.
- mod_name: The mod you want to get the setting from from. Optional, defaults to the mod that called the function.
-- Get the difficulty setting of the current mod. local Difficulty = GetSetting("Difficulty") -- Check some other setting in another mod. local SomeOtherSetting = GetSetting("SomeOtherSetting","AnotherMod")
No additional notes.