Difference between revisions of "Osiris/Shared/ProcRemoveAllDialogEntriesForSpeaker"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * PROC '''ProcRemoveAllDialogEntriesForSpeaker'''(''(GUIDSTRING)'''''_NPC''') ===== Description ===== This routine clears all dialogs that were...")
 
(Link ProcRemoveNPCADs)
Line 6: Line 6:
 
* /
 
* /
 
===== Notes =====
 
===== Notes =====
* 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.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]
 
* Helper [[Osiris/Shared/DB_Dialogs|DB_Dialogs]]
 
* Helper [[Osiris/Shared/DB_Dialogs|DB_Dialogs]]
 +
* Helper [[Osiris/Shared/ProcRemoveNPCADs|ProcRemoveNPCADs]]
 
   
 
   
 
[[Category:Osiris Shared Mod Helpers]]
 
[[Category:Osiris Shared Mod Helpers]]

Revision as of 20:24, 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_Dialogs entries; call ProcRemoveNPCADs instead to remove those.
See Also