Osiris/Shared/DB AD Dialog

From Divinity Engine Wiki
Revision as of 20:11, 17 October 2017 by Tinkerer (talk | contribs)
Jump to: navigation, search
Full Definition(s)
  • DB_AD_Dialog((GUIDSTRING)_Item,(STRING)_Dialog)
  • DB_AD_Dialog((GUIDSTRING)_Char,(STRING)_Dialog)
  • DB_Dialogs((GUIDSTRING)_Char1,(GUIDSTRING)_Char1,(STRING)_Dialog)
Description

In case of the item, defines that the automated dialog with the name _Dialog should be started when a player uses _Item.

In case of the characters, defines that the automated dialog with the name _Dialog should be started when PROC_GLOBAL_DialogStartRequested gets called for any of the specified NPCs, and with the specified NPCs as participants.

In all cases, the AD will only include the objects specified in the DB_AD_Dialogs() declaration as speakers; the player is never added as a speaker.

Notes
  • An automated dialog is a dialog whose text appears over the heads of the involved objects, that progresses automatically, and that does not involve any interactive player answers.
  • Any dialog can also be started directly from Osiris with Proc_StartDialog.
  • See Dialog editor for information about creating dialogs.
See Also