Background for Skyrim SE
Member of the SKI_ConfigBase script
eventOnOptionDefault(inta_option)

Description

GitHub Wiki Description (SkyUI)

Called when resetting an option to its default value.

Reset any internal state of the selected option to its default value, then use the option setters to apply the changes to the active page.

Documentation String

Called when resetting an option to its default value


Parameters

  1. inta_option

    GitHub Wiki Description (SkyUI)

    The option ID.


Examples

Auto-Generated Example

Scriptname MyCoolScript extends SKI_ConfigBase

event OnOptionDefault(int a_option)
    Debug.trace("Event received - OnOptionDefault: a_option = " + a_option)
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.