Difference between revisions of "Osiris/API/DialogStartRequested"
From Divinity Engine Wiki
(Osiris Core APIs) |
m |
||
Line 10: | Line 10: | ||
* 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]] | + | * [[Osiris/API/SetHasDialog|SetHasDialog]] |
− | * 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]] |
[[Category:Osiris Events]] | [[Category:Osiris Events]] |
Revision as of 21:38, 25 August 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.