Difference between revisions of "Osiris/API/DialogAddActorAt"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision 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 (one-based).
 
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).
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 10: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