Difference between revisions of "GetDialogueTarget - Actor"
Jump to navigation
Jump to search
imported>Catwheezle (Added "see also" section items.) |
imported>Sein schatten |
||
Line 23: | Line 23: | ||
endIf | endIf | ||
</source> | </source> | ||
== Notes == | |||
Using this function on the player always returns none | |||
== See Also == | == See Also == |
Revision as of 11:43, 18 August 2012
Member of: Actor Script
Obtains the actor this actor is currently in dialogue with.
Syntax
Actor Function GetDialogueTarget() native
Parameters
None.
Return Value
The actor this actor is currently in dialogue with (if any).
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
Notes
Using this function on the player always returns none