GetDialogueTarget - Actor

Revision as of 15:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Obtains the actor this actor is currently in dialogue with.

SyntaxEdit

Actor Function GetDialogueTarget() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

; 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 AlsoEdit