This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
set_dialogue [2017/05/10 14:04] – justin | set_dialogue [2017/05/10 15:17] – justin | ||
---|---|---|---|
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|npc_id|Entity ID of the NPC for which to update the dialogue.|[[String]]|Yes| | |npc_id|Entity ID of the NPC for which to update the dialogue.|[[String]]|Yes| | ||
- | |dialogue_name|Name of the new dialogue | + | |dialogue_name|Name of the new dialogue.|[[String]]|Yes| |
====Example: | ====Example: | ||
<code python> | <code python> | ||
- | set_dialogue(" | + | set_dialogue(" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Dialogue** function to ... | + | Use the **Set Dialogue** function to switch an NPC to an entirely different dialogue after your game has progressed to a new part of the story or to remove an NPC's dialogue after they no longer have anything left to say. |
</ | </ | ||