Difference between revisions of "GetDialogueTarget - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Catwheezle
(Added "see also" section items.)
Line 26: Line 26:
== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[Player Dialogue]]
*[[Bethesda Tutorial Conversations]]
*[[Bethesda Tutorial Dialogue]]
*[[Bethesda Tutorial Advanced Dialogue]]

Revision as of 00:49, 15 February 2012

Member of: Actor Script

Obtains the actor this actor is currently in dialogue with.

Syntax

Actor Function GetDialogueTarget() native

Parameters

None.

Return Value

The actor this actor is currently in dialogue with (if any).

Examples

; Print a message if Bob is in dialogue with the player
if (Bob.GetDialogueTarget() == Game.GetPlayer())
  Debug.Trace("Bob is in dialogue with the player!")
endIf

See Also