Difference between revisions of "Osiris/API/DialogEnded"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
Line 9: Line 9:
 
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogEnded|AutomatedDialogEnded]] event instead.
 
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogEnded|AutomatedDialogEnded]] event instead.
 
* Even if the attempt to start an interactive dialog failed and a [[Osiris/API/DialogRequestFailed|DialogRequestFailed]] event was thrown, you will still get a '''DialogEnded''' event as well.
 
* Even if the attempt to start an interactive dialog failed and a [[Osiris/API/DialogRequestFailed|DialogRequestFailed]] event was thrown, you will still get a '''DialogEnded''' event as well.
 +
* This event is not thrown if [[Osiris/API/StartDialog_Internal|StartDialog_Internal]] returned that it failed to start the dialog. Conversely, if that routine returned success, this event will always be thrown regardless of any subsequent errors.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/AutomatedDialogEnded|AutomatedDialogEnded]]
 
* [[Osiris/API/AutomatedDialogEnded|AutomatedDialogEnded]]

Revision as of 10:05, 6 October 2019

Full Definition(s)
  • event DialogEnded((STRING)_Dialog, (INTEGER)_InstanceID)
Description

Thrown once an interactive dialog has ended.

Parameters
  • _Dialog: The name of the dialog.
  • _InstanceID: Unique identifier for this interactive dialog instance.
Notes
  • Automated dialogs with throw an AutomatedDialogEnded event instead.
  • Even if the attempt to start an interactive dialog failed and a DialogRequestFailed event was thrown, you will still get a DialogEnded event as well.
  • This event is not thrown if StartDialog_Internal returned that it failed to start the dialog. Conversely, if that routine returned success, this event will always be thrown regardless of any subsequent errors.
See Also