Skip to content

Add Cancel button to diary scope message box#414

Merged
MinLL merged 1 commit into
MinLL:mainfrom
Gerkinfeltser:feature/cancel-update-box
May 25, 2026
Merged

Add Cancel button to diary scope message box#414
MinLL merged 1 commit into
MinLL:mainfrom
Gerkinfeltser:feature/cancel-update-box

Conversation

@Gerkinfeltser
Copy link
Copy Markdown
Contributor

Add Cancel Button to Diary Scope Message Box

Summary

Adds a "Cancel" button to the skynet_DiaryScopeMessage message box, allowing players to dismiss the prompt without selecting any scope option.

Changes

  • plugins/SkyrimNet/Messages/skynet_DiaryScopeMessage — Added "Cancel" as a fifth menu button (index 4).
  • Source/Scripts/SkyrimNetInternal.pscGetDiaryScopeMessage() now returns -1 when Cancel is selected (index 4), matching the existing cancelled/error contract.

Why

Previously the message box had no way to back out — the player was forced to pick one of the four scope options (Player Only, Nearby Actors, Pinned Actors, Target in Crosshair). This is annoying if the dialog is triggered accidentally or the player changes their mind.

Notes

The existing button labels were left as-is, but a few could be cleaned up in a follow-up pass if desired:

  • "Target in Crosshair" → "Crosshair Target" (shorter, consistent casing)
  • "Pinned Actors" → "Pinned" (matches the brevity of the other options)

@MinLL MinLL merged commit 646b23d into MinLL:main May 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants