Mod:Creation Kit/GetDialogueTarget - Actor

Member of: Mod:Creation Kit/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
if (Bob.GetDialogueTarget == Game.GetPlayer) Debug.Trace("Bob is in dialogue with the player!") endIf
 * Print a message if Bob is in dialogue with the player