Difference between revisions of "Osiris/API/DialogRequestFailed"

From Divinity Engine Wiki
Jump to: navigation, search
m (Parameters)
m (Notes)
Line 8: Line 8:
  
 
===== Notes =====
 
===== Notes =====
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]] event instead.
+
* Automated dialogs will throw an [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]] event instead.
 
* This event is not thrown if [[Osiris/API/StartDialog_Internal|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.
 
* This event is not thrown if [[Osiris/API/StartDialog_Internal|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 [[Osiris/API/DialogEnded|DialogEnded]] event will always follow after a '''DialogRequestFailed''' event.
 
* A [[Osiris/API/DialogEnded|DialogEnded]] event will always follow after a '''DialogRequestFailed''' event.
 +
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]]
 
* [[Osiris/API/AutomatedDialogRequestFailed|AutomatedDialogRequestFailed]]

Revision as of 10:06, 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 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