Talk:DialogueActivate (Procedure)

From the CreationKit Wiki
Jump to navigation Jump to search

Initial research[edit source]

Bethesda has exactly one package template, StartConversation, which uses a DialogueActivate procedure. This template is used by exactly one package, TG01DrifaConversationPackage, which is applied to Drifa via a quest alias and conditioned to start only once you reach the quest stage wherein Bersi pays his debt. (A script fragment on that quest stage calls EvaluatePackage on Drifa to ensure that the package gets a chance to run promptly.) Package parameters make her attempt to start the conversation within 150 units of her current position. However, the package uses a Papyrus variable on the TG01 quest as a run-once flag and sets that variable on package start, so if the procedure doesn't immediately succeed, no conversation will occur.

I was unable to get a conversation to occur when testing the vanilla quest myself, but I confirmed via ShowQuestVars that the package ran and set the run-once flag. Clearing the run-once flag via the console and forcing Drifa to EvaluatePackage caused the flag to be set again, but still didn't trigger a random conversation; neither did multiple reloads and attempts. Controlling Drifa's exact distance to Bersi at the time the package started didn't seem to help (i.e. whether she stood by the fireplace and he at the counter, or whether I shoved her right next to him, had no obvious influence). However, I searched YouTube for "Taking Care of Business" quest playthroughs, and while most players blitz out the door before Drifa would ever even have a chance to talk to Bersi, I did find a few playthroughs that show random conversations occurring unusually soon after Bersi pays his debt:

  • Playthroughs by Twothless (10:20) and GameShampoo (11:37) show DialogueRiftenPawnedPrawnScene01.
  • A playthrough by IAPCGames (9:45) shows DialogueRiftenPawnedPrawnScene02.

The fact that scene 02 plays confirms that Bethesda isn't triggering scene 01 directly through some non-obvious means. Between that, the fact that the DialogueActivate procedure doesn't offer any way to actually control what conversation starts, and the fact that Bethesda's template for it is named StartConversation, it seems very likely that the procedure exists specifically to force a random conversation.

DialogueRiftenPawnedPrawnScene01 is the only one of the three random Pawned Prawn shopkeeper conversations that makes sense in the context of this questline; why Bethesda seemingly chose to directly trigger a random conversation that only has a 33% chance of being relevant is unclear to me. If I engage in a little blind speculation, it may be that Bethesda intended these two characters to have more conversations complaining about the Thieves Guild, and wanted an elegant way to trigger one of those. If their plans changed down the line and they scrapped most of those conversations, they likely wouldn't have noticed the discrepancy in QA, because this package is scripted so unreliably (so random conversations don't even always occur when desired) and because an irrelevant conversation occurring immediately after Bersi pays up wouldn't obviously be a bug.

DavidJCobb (talk) 18:04, 2 October 2025 (EDT)