From f5fed00a4511b66f4a69a19734b13192a0faeb72 Mon Sep 17 00:00:00 2001 From: Gerkinfeltser Date: Sun, 24 May 2026 19:05:27 -0500 Subject: [PATCH] Add Cancel button to diary scope message box --- Source/Scripts/SkyrimNetInternal.psc | 4 ++++ .../skynet_DiaryScopeMessage - 0012DC_SkyrimNet.esp.json | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/Source/Scripts/SkyrimNetInternal.psc b/Source/Scripts/SkyrimNetInternal.psc index e1d85faa14..68c047fc90 100644 --- a/Source/Scripts/SkyrimNetInternal.psc +++ b/Source/Scripts/SkyrimNetInternal.psc @@ -31,6 +31,10 @@ Int Function GetDiaryScopeMessage() global Int _selection = skynet.libs.msgDiaryScope.Show() Debug.Trace("[SkyrimNetInternal] GetDiaryScopeMessage: User selected " + _selection) + if _selection == 4 + Debug.Trace("[SkyrimNetInternal] GetDiaryScopeMessage: User cancelled") + return -1 + endif return _selection EndFunction diff --git a/plugins/SkyrimNet/Messages/skynet_DiaryScopeMessage - 0012DC_SkyrimNet.esp.json b/plugins/SkyrimNet/Messages/skynet_DiaryScopeMessage - 0012DC_SkyrimNet.esp.json index 3865509412..0c0c737087 100644 --- a/plugins/SkyrimNet/Messages/skynet_DiaryScopeMessage - 0012DC_SkyrimNet.esp.json +++ b/plugins/SkyrimNet/Messages/skynet_DiaryScopeMessage - 0012DC_SkyrimNet.esp.json @@ -37,6 +37,12 @@ "TargetLanguage": "English", "Value": "Target in Crosshair" } + }, + { + "Text": { + "TargetLanguage": "English", + "Value": "Cancel" + } } ] } \ No newline at end of file