Difference between revisions of "Osiris/Shared/Proc DialogFlagSetup"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Helper Mod APIs)
 
m
Line 8: Line 8:
 
* PROC '''Proc_DialogFlagSetup'''(''(STRING)'''''_Dialog''',''(GUIDSTRING)'''''_Speaker1''',''(GUIDSTRING)'''''_Speaker2''',''(GUIDSTRING)'''''_Speaker2''',''(GUIDSTRING)'''''_Speaker3''',''(GUIDSTRING)'''''_Speaker4''',''(GUIDSTRING)'''''_Speaker5''',''(GUIDSTRING)'''''_Speaker6''')
 
* PROC '''Proc_DialogFlagSetup'''(''(STRING)'''''_Dialog''',''(GUIDSTRING)'''''_Speaker1''',''(GUIDSTRING)'''''_Speaker2''',''(GUIDSTRING)'''''_Speaker2''',''(GUIDSTRING)'''''_Speaker3''',''(GUIDSTRING)'''''_Speaker4''',''(GUIDSTRING)'''''_Speaker5''',''(GUIDSTRING)'''''_Speaker6''')
 
===== Description =====
 
===== Description =====
This routine is called by the Shared mod every time '''_Dialog''' gets started through '''Proc_StartDialog''', which should virtually always be the case. As its name implies, you can overload this routine to set or clear flags right before the dialog gets started. The flags will be ready by the time the dialog gets started, and hence be available for use in the greeting nodes.
+
This routine is called by the Shared mod every time '''_Dialog''' gets started through [[Osiris/Shared/Proc_StartDialog|Proc_StartDialog]], which should virtually always be the case. As its name implies, you can overload this routine to set or clear flags right before the dialog gets started. The flags will be ready by the time the dialog gets started, and hence be available for use in the greeting nodes.
 
===== Return Values =====
 
===== Return Values =====
 
* /
 
* /
Line 14: Line 14:
 
* /
 
* /
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/DialogStartRequested]]
+
* [[Osiris/API/DialogStartRequested|DialogStartRequested]]
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested]]
+
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested|PROC_GLOBAL_DialogStartRequested]]
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
+
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics|PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
 +
* Helper [[Osiris/Shared/Proc_StartDialog|Proc_StartDialog]]
 
   
 
   
 
[[Category:Osiris Shared Mod Helpers]]
 
[[Category:Osiris Shared Mod Helpers]]

Revision as of 22:02, 25 August 2017

Full Definition(s)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker2)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker3)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker3,(GUIDSTRING)_Speaker4)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker3,(GUIDSTRING)_Speaker4,(GUIDSTRING)_Speaker5)
  • PROC Proc_DialogFlagSetup((STRING)_Dialog,(GUIDSTRING)_Speaker1,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker2,(GUIDSTRING)_Speaker3,(GUIDSTRING)_Speaker4,(GUIDSTRING)_Speaker5,(GUIDSTRING)_Speaker6)
Description

This routine is called by the Shared mod every time _Dialog gets started through Proc_StartDialog, which should virtually always be the case. As its name implies, you can overload this routine to set or clear flags right before the dialog gets started. The flags will be ready by the time the dialog gets started, and hence be available for use in the greeting nodes.

Return Values
  • /
Notes
  • /
See Also