Jump to content

Almost certainly no but need confirmation


Recommended Posts

 

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

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() ?

 

 

diziet

edit: 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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...