NX GetConversationPartner

From GECK
Jump to: navigation, search


A function added by the NX NVSE plugin.

Description

Returns the reference of the NPC that the player is currently having a conversation with, including in cases where the NPC initiated the conversation with StartConversation. Only makes sense if called on the playerref in a menumode block. Added in NX v. 7.

Syntax

[help]
(reference) reference.NX_GetConversationPartner 

Example

ref rPartner

set rPartner to playerref.NX_GetConversationPartner

See Also