Osiris/API/DialogRequestFailed

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • event DialogRequestFailed((STRING)_Dialog, (INTEGER)_InstanceID)
Description

Thrown when an interactive dialog file was not found, or if an interactive dialog was stopped before the DialogStarted event was thrown.

Parameters
  • _Dialog: The name of the dialog.
  • _InstanceID: Unique identifier for this interactive dialog instance.
Notes
  • Automated dialogs will throw an AutomatedDialogRequestFailed event instead.
  • This event is not thrown if StartDialog_Internal returned that it failed to start the dialog. It's only thrown if that routine returned success, but then the dialog did not start after all because of one of the reasons mentioned in the description.
  • A DialogEnded event will always follow after a DialogRequestFailed event.
See Also