GetDialogueTarget - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Obtains the actor this actor is currently in dialogue with.

Syntax[edit | edit source]

Actor Function GetDialogueTarget() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

; 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[edit | edit source]