Background for Skyrim SE
Member of the SKI_ConfigBase script
eventOnOptionMenuAccept(inta_option, inta_index)

Description

GitHub Wiki Description (SkyUI)

Called when a menu entry has been accepted.

Modify the internal state of the selected option, then use the option setters to apply the changes to the active page.

Documentation String

Called when a menu entry has been accepted


Parameters

  1. inta_option

    GitHub Wiki Description (SkyUI)

    The option ID.

  2. inta_index

    GitHub Wiki Description (SkyUI)

    The index of the accepted menu entry.


Examples

Auto-Generated Example

Scriptname MyCoolScript extends SKI_ConfigBase

event OnOptionMenuAccept(int a_option, int a_index)
    Debug.trace("Event received - OnOptionMenuAccept: a_option = " + a_option + " a_index = " + a_index)
endEvent

Related Pages


Additional References

View this event on the GitHub Wiki for SkyUI

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