Modding:Conversations: Difference between revisions
m
→Starting Conversation: Pick Start Node: fix typo
m (Teamtoto moved page Modding/Conversation to Modding:Conversation) |
imported>KizbySpark m (→Starting Conversation: Pick Start Node: fix typo) |
||
Line 21: | Line 21: | ||
First, it deep copies the Conversation object as an original template, allowing mods and parts responding to the following events to mutate the nodes as much as they want. | First, it deep copies the Conversation object as an original template, allowing mods and parts responding to the following events to mutate the nodes as much as they want. | ||
=== | === Starting Conversation: Pick Start Node === | ||
Then, it checks in order <code>Conversation.StartNodes</code> looking for the first node which passes the <code>ConversationNode.Test()</code> and sets it as <code>Conversation.NodesByID["Start"]</code> | Then, it checks in order <code>Conversation.StartNodes</code> looking for the first node which passes the <code>ConversationNode.Test()</code> and sets it as <code>Conversation.NodesByID["Start"]</code> | ||