Difference between revisions of "Osiris/Shared/ProcRemoveAllDialogEntriesForSpeaker"

From Divinity Engine Wiki
Jump to: navigation, search
(Link ProcRemoveNPCADs)
m
Line 8: Line 8:
 
* Simply undefining a '''DB_Dialogs()''' database will not do anything.
 
* Simply undefining a '''DB_Dialogs()''' database will not do anything.
 
* Calling this routine will not remove the ability of the player to click on the character to request starting a dialog. Disabling that can be done through [[Osiris/API/SetHasDialog|SetHasDialog]]
 
* Calling this routine will not remove the ability of the player to click on the character to request starting a dialog. Disabling that can be done through [[Osiris/API/SetHasDialog|SetHasDialog]]
* This routine will not remove any [[Osiris/Shared/DB_AD_Dialogs|DB_AD_Dialogs]] entries; call [[Osiris/Shared/ProcRemoveNPCADs|ProcRemoveNPCADs]] instead to remove those.
+
* This routine will not remove any [[Osiris/Shared/DB_AD_Dialog|DB_AD_Dialog]] entries; call [[Osiris/Shared/ProcRemoveNPCADs|ProcRemoveNPCADs]] instead to remove those.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]

Revision as of 21:25, 17 October 2017

Full Definition(s)
  • PROC ProcRemoveAllDialogEntriesForSpeaker((GUIDSTRING)_NPC)
Description

This routine clears all dialogs that were defined for _NPC through the DB_Dialogs database.

Return Values
  • /
Notes
  • Simply undefining a DB_Dialogs() database will not do anything.
  • Calling this routine will not remove the ability of the player to click on the character to request starting a dialog. Disabling that can be done through SetHasDialog
  • This routine will not remove any DB_AD_Dialog entries; call ProcRemoveNPCADs instead to remove those.
See Also