This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_dialogue [2020/05/04 08:34] – justin | set_dialogue [2021/04/21 18:49] (current) – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | set_dialogue(npc_id, dialogue_name) | + | set_dialogue(entity_id, dialogue_name) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |npc_id|[[Entity]] ID of the [[NPC]] for which to update the [[dialogue]].|[[String]]|Yes| | + | |entity_id|[[Entity]] ID of the [[NPC]] for which to update the [[dialogue]].|[[String]]|Yes| |
|dialogue_name|Name of the new [[dialogue]].|[[String]]|Yes| | |dialogue_name|Name of the new [[dialogue]].|[[String]]|Yes| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | set_dialogue(" | + | set_dialogue(" |
</ | </ | ||
// | // |