Difference between revisions of "Osiris/API/DialogStartRequested"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* '''_Player''': The player that initiated the conversation
 
* '''_Player''': The player that initiated the conversation
 
===== Notes =====
 
===== Notes =====
* Do not use this event directly. Overload '''PROC_GLOBAL_DialogStartRequested''' or '''PROC_GLOBAL_DialogStartRequested_AfterGenerics''' instead, so that certain common behaviours are guaranteed to hold in all cases.
+
* Do not use this event directly. Overload [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested|PROC_GLOBAL_DialogStartRequested]] or [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics|PROC_GLOBAL_DialogStartRequested_AfterGenerics]] instead, so that certain common behaviours are guaranteed to hold in all cases.
 
* This event can only be thrown if the target can accept dialog requests, i.e. if '''SetHasDialog'''('''_Target''','''1''') is currently active.
 
* This event can only be thrown if the target can accept dialog requests, i.e. if '''SetHasDialog'''('''_Target''','''1''') is currently active.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]
 
* [[Osiris/API/SetHasDialog|SetHasDialog]]
 +
* Helper [[Osiris/Shared/DB_NoLowAttitudeDialog|DB_NoLowAttitudeDialog]]
 
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested|PROC_GLOBAL_DialogStartRequested]]
 
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested|PROC_GLOBAL_DialogStartRequested]]
 
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics|PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
 
* Helper [[Osiris/Shared/PROC_GLOBAL_DialogStartRequested_AfterGenerics|PROC_GLOBAL_DialogStartRequested_AfterGenerics]]
+
 
[[Category:Osiris Events]]
+
[[Category:Osiris Events|DialogStartRequested]]

Latest revision as of 10:42, 19 August 2018

Full Definition(s)
  • event DialogStartRequested((GUIDSTRING)_Target,(GUIDSTRING)_Player)
Description

Thrown whenever a player tries to start a conversation with another object.

Parameters
  • _Target: The object to which the conversation request is directed.
  • _Player: The player that initiated the conversation
Notes
See Also