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>Zartar
 
(2 intermediate revisions by 2 users not shown)
Line 23: Line 23:
endIf
endIf
</source>
</source>
== Notes ==
Using this function on the player always returns none. To work around this, see the discussion page.


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[Player Dialogue]]
*[[Bethesda Tutorial Conversations]]
*[[Bethesda Tutorial Dialogue]]
*[[Bethesda Tutorial Advanced Dialogue]]

Latest revision as of 21:08, 9 February 2013

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

Notes[edit | edit source]

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

See Also[edit | edit source]