Difference between revisions of "Osiris/API/DialogRequestFailed"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented DialogRequestFailed)
 
m (Parameters)
Line 5: Line 5:
 
===== Parameters =====
 
===== Parameters =====
 
* '''_Dialog''': The name of the dialog.
 
* '''_Dialog''': The name of the dialog.
* '''_InstanceID''': Unique identifier for this interactive dialog.
+
* '''_InstanceID''': Unique identifier for this interactive dialog instance.
 +
 
 
===== Notes =====
 
===== Notes =====
 
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]] event instead.
 
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]] event instead.

Revision as of 10:01, 6 October 2019

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 instance.
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