Background for Skyrim SE
Member of the SkyMessage script
stringfunctionGetResultText(intmessageBoxId, booldeleteResultOnAccess=true)NativeGlobal

Description

Documentation Comment

Returns the result text from a message box created using Show_NonBlocking() or ShowArray_NonBlocking()

If IsMessageResultAvailable is false or the messageBoxId is invalid, this returns ""
else it returns the name of the button which was selected.

Note: calling this function cleans up the stored messageBox and it will no longer be available
unless you pass deleteResultOnAccess = false


Parameters

  1. intmessageBoxId

  2. booldeleteResultOnAccess=true


Examples

Auto-Generated Example

int myInt__messageBoxId
bool myBool__deleteResultOnAccess

string returnedValue = SkyMessage.GetResultText(myInt__messageBoxId, myBool__deleteResultOnAccess)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.