Background for Skyrim SE
Member of the SKI_ConfigBase script
boolfunctionShowMessage(stringa_message, boola_withCancel=true, stringa_acceptLabel="Accept", stringa_cancelLabel="Cancel")

Description

GitHub Wiki Description (SkyUI)

Shows a message dialog.

This function works similar to Message.Show, so it will pause the script and wait until the user closed the dialog. The return value indicates whether the dialog was accepted or canceled.

Context

OnOptionSelect, OnOptionSliderAccept, OnOptionMenuAccept, OnOptionColorAccept, OnOptionKeyMapChange, OnOptionDefault

Documentation String

Shows a message dialog and waits until the user has closed it


Parameters

  1. stringa_message

    GitHub Wiki Description (SkyUI)

    The message string. Use \n for line breaks.

  2. boola_withCancel=true

  3. stringa_acceptLabel="Accept"

  4. stringa_cancelLabel="Cancel"


Examples

Auto-Generated Example

string myString__a_message
bool myBool__a_withCancel
string myString__a_acceptLabel
string myString__a_cancelLabel

bool returnedValue = mySKI_ConfigBase__toCallFunctionOn.ShowMessage(myString__a_message, myBool__a_withCancel, myString__a_acceptLabel, myString__a_cancelLabel)

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.