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 15:17] – justin | set_dialogue [2018/03/16 09:48] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Sets the dialogue of the specified NPC. An empty string value can be specified for the dialogue name in order to remove the NPC's dialogue. The dialogue name is case-sensitive. | Sets the dialogue of the specified NPC. An empty string value can be specified for the dialogue name in order to remove the NPC's dialogue. The dialogue name is case-sensitive. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
set_dialogue(npc_id, | set_dialogue(npc_id, | ||
Line 19: | Line 20: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | 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 | + | 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 to say. |
</ | </ | ||