User Tools

Site Tools


set_dialogue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_dialogue [2020/05/04 08:35] justinset_dialogue [2021/04/21 18:49] (current) 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|+|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("purple_slime", "second_dialogue")+set_dialogue("purple_slime", "second_dialogue");
 </code> </code>
 //Results:// The purple slime's [[dialogue]] is changed to "second_dialogue". //Results:// The purple slime's [[dialogue]] is changed to "second_dialogue".
set_dialogue.1588606551.txt.gz · Last modified: 2020/05/04 08:35 by justin