Background for Skyrim SE
Member of the Actor script
ActorfunctionGetDialogueTarget()Native

Description

Wiki Description

Obtains the actor this actor is currently in dialogue with.

Documentation Comment

Gets this actor's current dialogue target


Caveats

CK Wiki - Notes

Using this function on the player always returns none. To work around this, see the discussion page.


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

Auto-Generated Example

Actor returnedValue = myActor__toCallFunctionOn.GetDialogueTarget()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.