Osiris/API/DialogAddActorAt: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* call '''DialogAddActorAt'''(''(INTEGER)'''''_InstanceID''', ''(CHARACTERGUID)'''''_Actor''', ''(INTEGER)'''''_Index''')
* call '''DialogAddActorAt'''(''(INTEGER)'''''_InstanceID''', ''(GUIDSTRING)'''''_Actor''', ''(INTEGER)'''''_Index''')
===== Description =====
===== Description =====
Adds character or item '''_Actor''' to the ongoing dialog with ID '''_InstanceID''' in speaker slot '''_Index'''. From then on, it will behave as if the object was added to the dialog from the start in that speaker slot.
Adds character or item '''_Actor''' to the ongoing dialog with ID '''_InstanceID''' in speaker slot '''_Index'''. From then on, it will behave as if the object was added to the dialog from the start in that speaker slot (one-based).
===== Notes =====
===== Notes =====
* Take care that '''_Actor''' is close enough to the characters participating in the dialog, otherwise you may get visual culling issues in multiplayer.
* Take care that '''_Actor''' is close enough to the characters participating in the dialog, otherwise you may get visual culling issues in multiplayer.
Line 10: Line 10:
* [[Osiris/API/DialogActorJoined|DialogActorJoined]]
* [[Osiris/API/DialogActorJoined|DialogActorJoined]]
* [[Osiris/API/DialogActorLeft|DialogActorLeft]]
* [[Osiris/API/DialogActorLeft|DialogActorLeft]]
* [[Osiris/API/DialogRemoveActorFromDialog|DialogRemoveActorFromDialog]]
* Helper [[Osiris/Shared/DB DialogNPCs|DB DialogNPCs]]
* Helper [[Osiris/Shared/DB DialogNPCs|DB DialogNPCs]]
* Helper [[Osiris/Shared/DB DialogPlayers|DB DialogPlayers]]
* Helper [[Osiris/Shared/DB DialogPlayers|DB DialogPlayers]]

Latest revision as of 09:28, 12 July 2019

Full Definition(s)
  • call DialogAddActorAt((INTEGER)_InstanceID, (GUIDSTRING)_Actor, (INTEGER)_Index)
Description

Adds character or item _Actor to the ongoing dialog with ID _InstanceID in speaker slot _Index. From then on, it will behave as if the object was added to the dialog from the start in that speaker slot (one-based).

Notes
  • Take care that _Actor is close enough to the characters participating in the dialog, otherwise you may get visual culling issues in multiplayer.
  • (DOS2 Classic) Used to be DialogAddCharacterAt.
See Also