Osiris/API/DialogStartRequested

From Divinity Engine Wiki
Revision as of 15:11, 19 December 2017 by Tinkerer (talk | contribs)
Jump to: navigation, search
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