Table of Contents

Method ActionStartConversation

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionStartConversation(NwGameObject, string, bool, bool)

Starts a conversation with another object, typically a creature.

public Task ActionStartConversation(NwGameObject converseWith, string dialogResRef = "", bool isPrivate = false, bool playHello = true)

Parameters

converseWith NwGameObject

The target object to converse with.

dialogResRef string

The dialogue to start. If ControlledCreature is unset, the target's own dialogue file will be used.

isPrivate bool

Whether ControlledCreature dialogue should be visible to all nearby players, or visible to the player only.

playHello bool

Whether the hello/greeting should be played once the dialogue starts.

Returns

Task