Osiris/API/DialogStartRequested: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 15: Line 15:
* 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]]

Revision as of 14:11, 19 December 2017

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
  • 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.
  • This event can only be thrown if the target can accept dialog requests, i.e. if SetHasDialog(_Target,1) is currently active.
See Also