Difference between revisions of "StartConversation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Skingrad24
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 23: Line 23:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Dialogue Functions]]
[[Category:Dialogue Functions]]
[[Category:Dialogue Functions (GECK 1.0)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.0)]]

Revision as of 13:41, 12 August 2009

Description

Use the function to force a conversation between two NPCs, starting with a specified topic. When you call this function 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.

You can also use it 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 you can have the NPC start the dialogue with any topic you like (use Greeting if you simply want the normal greeting).

Syntax:

StartConversation TargetActor, TopicID 

Optional Parameters

[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.

Examples:

StartConversation Joe, SecretTopic 
StartConversation player, ForceGreetTopic 
StartConversation player, ForceGreetTopic ref.joe ref.player [headtrack=1] [allow movement=0]

Notes

If called on an NPC who is in combat with the player, won't start conversation with the chosen topic but with the GREETINGS topic