Forces a conversation between two NPCs, starting with a specified topic. When this function is called on an Actor, the actor will seek out the target actor in order to have a conversation, no matter where the two NPCs are currently.
This can also be used to have an NPC "force greet" the player, by setting the player as the TargetActor. The specified topic will be used instead of the normal Greeting topic, so the NPC can start the dialogue with any topic (use Greeting to simply have the normal greeting).
StartConversation TargetActor, TopicID
[speaker location ref] - The Editor Reference ID for the speaker [target location ref] - The Editor Reference ID for the target [head track] - Enter 1 to enable head tracking during conversation. Enter 0 to disable. [allow movement] - Enter 1 to enable movement during conversation. Enter 0 to disable.
StartConversation Joe, SecretTopic StartConversation player, ForceGreetTopic StartConversation player, ForceGreetTopic ref.joe ref.player [headtrack=1] [allow movement=0]
- If called on an NPC who is in combat with the player, the NPC won't start conversation with the chosen topic but with the GREETING topic.
- Using the optional 'location refs' for speaker and target (ie preceding both with 'ref.') presumably facilitates AI pathing if movement is required to start the conversation, which appears especially useful for cell transitions.