Difference between revisions of "Osiris/Shared/DB Dialogs"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Helper Mod APIs)
 
m
Line 10: Line 10:
 
* Defining such a database will call '''SetHasDialog''' to enable dialog requests for all involved NPCs.
 
* Defining such a database will call '''SetHasDialog''' to enable dialog requests for all involved NPCs.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/DialogStartRequested]]
+
* [[Osiris/API/DialogStartRequested|DialogStartRequested]]
* [[Osiris/API/SetHasDialog]]
+
* [[Osiris/API/SetHasDialog|SetHasDialog]]
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested]]
+
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested|PROC_GLOBAL_DialogStartRequested]]
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
+
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics|PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
 
   
 
   
 
[[Category:Osiris Shared Mod Helpers]]
 
[[Category:Osiris Shared Mod Helpers]]

Revision as of 22:54, 25 August 2017

Full Definition(s)
  • DB_Dialogs((GUIDSTRING)_Npc,(STRING)_Dialog)
  • DB_Dialogs((GUIDSTRING)_Npc,(GUIDSTRING)_Npc2,(STRING)_Dialog)
  • DB_Dialogs((GUIDSTRING)_Npc,(GUIDSTRING)_Npc2,(GUIDSTRING)_Npc3,(STRING)_Dialog)
  • DB_Dialogs((GUIDSTRING)_Npc,(GUIDSTRING)_Npc2,(GUIDSTRING)_Npc3,(GUIDSTRING)_Npc4,(STRING)_Dialog)
Description

Defines that the dialog with the name _Dialog should be started when a DialogRequestStarted event is fired, with the specified NPCs as participants (in addition to the player that initiated the request; the player will be the last speaker).

Notes
  • This is the default way to assign a dialog to a character.
  • Defining such a database will call SetHasDialog to enable dialog requests for all involved NPCs.
See Also