Difference between revisions of "Osiris/API/SetHasDialog"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
m
Line 6: Line 6:
 
* If you define a dialog through the '''DB_Dialogs''' database, dialog requests are autimatically enabled for the speaker(s).
 
* If you define a dialog through the '''DB_Dialogs''' database, dialog requests are autimatically enabled for the speaker(s).
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/DialogRequestStarted]]
+
* [[Osiris/API/DialogStartRequested|DialogStartRequested]]
* Helper [[Osiris/Shared/DB_Dialogs]]
+
* Helper [[Osiris/Shared/DB_Dialogs|DB_Dialogs]]
 +
* Helper [[Osiris/Shared/PROC GLOBAL DialogStartRequested|PROC GLOBAL DialogStartRequested]]
 
   
 
   
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 21:02, 25 August 2017

Full Definition(s)
  • call SetHasDialog((GUIDSTRING)_Speaker,(INTEGER)_Dialog)
Description

If _Dialog is 1, defines that _Speaker can accept dialog requests. I.e., a player can click on the object and a DialogStartRequested event will be sent to Osiris. Specifying 0 for _Dialog disables dialog requests.

Notes
  • If you define a dialog through the DB_Dialogs database, dialog requests are autimatically enabled for the speaker(s).
See Also