Osiris/API/DialogRequestFailed

From Divinity Engine Wiki
Revision as of 10:00, 6 October 2019 by Tinkerer (talk | contribs) (Documented DialogRequestFailed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 DialogRequestStopstopped before the DialogStarted event was thrown.

Parameters
  • _Dialog: The name of the dialog.
  • _InstanceID: Unique identifier for this interactive dialog.
Notes
  • Automated dialogs with 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