Background for Skyrim SE
Member of the SKI_ConfigBase script
intfunctionAddMenuOption(stringa_text, stringa_value, inta_flags=0)

Description

GitHub Wiki Description (SkyUI)

Adds an option that opens a menu dialog when selected.

Context

OnPageReset

Documentation String

Adds an option that opens a menu dialog when selected


Caveats

GitHub Wiki notes (SkyUI)

The menu parameters are set in OnOptionMenuOpen when the dialog is opened.


Parameters

  1. stringa_text

    GitHub Wiki Description (SkyUI)

    The option text.

  2. stringa_value

    GitHub Wiki Description (SkyUI)

    The initial displayed option value.

  3. inta_flags=0


Examples

Auto-Generated Example

string myString__a_text
string myString__a_value
int myInt__a_flags

int returnedValue = mySKI_ConfigBase__toCallFunctionOn.AddMenuOption(myString__a_text, myString__a_value, myInt__a_flags)

Related Pages


Additional References

View this function on the GitHub Wiki for SkyUI

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.