GetDialogueTarget - Actor
Member of: Actor Script
Obtains the actor this actor is currently in dialogue with.
Actor Function GetDialogueTarget() native
The actor this actor is currently in dialogue with (if any).
; 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
Using this function on the player always returns none. To work around this, see the discussion page.