Difference between revisions of "Osiris/API/DialogEnded"

From Divinity Engine Wiki
Jump to: navigation, search
m
m (Notes)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
* '''_InstanceID''': Unique identifier for this interactive dialog instance.
 
* '''_InstanceID''': Unique identifier for this interactive dialog instance.
 
===== Notes =====
 
===== Notes =====
* Automated dialogs with throw an [[Osiris/API/AutomatedDialogEnded|AutomatedDialogEnded]] event instead.
+
* Automated dialogs will 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]]

Latest revision as of 10:06, 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 will 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