IsharaMeradin Posted September 30, 2020 Share Posted September 30, 2020 Event OnConfigClose() RegisterForSingleUpdate(0.25) EndEvent Event OnUpdate() ;do stuff EndEvent Take a look at my Inventory Management System mod's MCM script (SSE version) to see how I handled multiple similar states and setting the various variables in the OnUpdate event. In this case, working example might be best. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted September 30, 2020 Author Share Posted September 30, 2020 While I look, I just want to check I understand how the register thing works, I've never used it before. I adjusted my function since I realise that I already set a page specific toggle for spell activation:: Event OnConfigClose() RegisterForSingleUpdate() EndEvent Event OnUpdate() Int j j = 0 While j < pages.Length If activate_toggle[j] == True dz_activate_changing[True,j] EndIf j = j + 1 EndWhile EndEvent Is this how to use the RegisterForSingleUpdate() ? dizietedit: forgot to put the time in:)i.e. RegisterForSingleUpdate(1) p.s. if I may ask, I notice that in your MCM menu you have tokens for text, do you do the translation files yourself? If so do you have an automated way to do it? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 30, 2020 Share Posted September 30, 2020 Aside from having forgotten the time to wait, you nailed it. I do the English translation file myself. If any user wants to have a different language, they are more than welcome to translate the file. Since I don't speak any other languages I do not feel comfortable providing their translation files. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted September 30, 2020 Author Share Posted September 30, 2020 Thankyou,I've been testing this and it seems to work, so I can post an update of my - still very beta - mod! diziet Link to comment Share on other sites More sharing options...
Recommended Posts