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...")
 
m
 
(2 intermediate revisions by the same user not shown)
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_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]]
 
* 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|RemoveAllDialogEntriesForSpeaker]]

Latest revision as of 17:01, 19 December 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