Modding:Conversations: Difference between revisions

m
m (Teamtoto moved page Modding/Conversation to Modding:Conversation)
imported>KizbySpark
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.


=== Staring Conversation: Pick Start Node ===
=== 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>


Anonymous user