ThalonMook Posted October 25, 2018 Posted October 25, 2018 Hi, I want to read a value from the MCM setting file.I found the 'int Function GetModSettingInt(string asModName, string asSetting) native global'command but dont know to use in my script. I realy new on scripting papyrus but I learn fast. So I need a little more info. Atm I use the MCM_Demo to learn how to use the MCM I tried: Int AnzMuni = GetModSettingInt("MCM_Demo", "fSliderValue") it will not compile I think I have to connect this command to the MCM_Demo script or what ever.My script dont have a quest atm and I start it with hotkey and cgf "MyScript.MyFunction" CuThalon
ThalonMook Posted October 25, 2018 Author Posted October 25, 2018 Ok found it out. I looked at the MCM_Demo.psc and saw I have to use:Int AnzMuni = MCM.GetModSettingInt("MCM_Demo", "fSliderValue:Main") Ok other question :smile: Is it possible to make dynamic MCM menus. What I need is that MCM shows all my companions from an array that I create in my scipt.I need to set some parameters to every one of them via the MCM. Cu Thalon
Recommended Posts