Osiris/Shared/ProcRemoveAllDialogEntriesForSpeaker: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Link ProcRemoveNPCADs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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]]
Line 14: Line 14:
* Helper [[Osiris/Shared/ProcRemoveNPCADs|ProcRemoveNPCADs]]
* Helper [[Osiris/Shared/ProcRemoveNPCADs|ProcRemoveNPCADs]]
   
   
[[Category:Osiris Shared Mod Helpers]]
[[Category:Osiris Shared Mod Helpers|RemoveAllDialogEntriesForSpeaker]]

Latest revision as of 15: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