Difference between revisions of "Osiris/API/DialogAddActorAt"

From Divinity Engine Wiki
Jump to: navigation, search
m (Changed category to "Added in DOS2DE")
Line 2: Line 2:
 
* call '''DialogAddActorAt'''(''(INTEGER)'''''_InstanceID''', ''(CHARACTERGUID)'''''_Actor''', ''(INTEGER)'''''_Index''')
 
* call '''DialogAddActorAt'''(''(INTEGER)'''''_InstanceID''', ''(CHARACTERGUID)'''''_Actor''', ''(INTEGER)'''''_Index''')
 
===== Description =====
 
===== Description =====
Adds an object (character or item) as a dialog speaker by speaker index while dialog is active.
+
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.
 
===== 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.
 
* (DOS2 Classic) Used to be [[Osiris/API/DialogAddCharacterAt|DialogAddCharacterAt]].
 
* (DOS2 Classic) Used to be [[Osiris/API/DialogAddCharacterAt|DialogAddCharacterAt]].
 +
===== See Also =====
 +
* [[Osiris/API/DialogAddActor|DialogAddActor]]
 +
* [[Osiris/API/DialogActorJoined|DialogActorJoined]]
 +
* [[Osiris/API/DialogActorLeft|DialogActorLeft]]
 +
* Helper [[Osiris/Shared/DB DialogNPCs|DB DialogNPCs]]
 +
* Helper [[Osiris/Shared/DB DialogPlayers|DB DialogPlayers]]
 +
* Helper [[Osiris/Shared/Proc_StartDialog|Proc_StartDialog]]
 
    
 
    
 
[[Category:Osiris Calls|DialogAddActorAt]]
 
[[Category:Osiris Calls|DialogAddActorAt]]
 
[[Category:Osiris Calls (Added in DOS2DE)|DialogAddActorAt]]
 
[[Category:Osiris Calls (Added in DOS2DE)|DialogAddActorAt]]

Revision as of 13:31, 19 December 2018

Full Definition(s)
  • call DialogAddActorAt((INTEGER)_InstanceID, (CHARACTERGUID)_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.

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