User Tools

Site Tools


Set Character Name

Changes the name of the specified character (i.e. the name displayed when speaking during dialogue).


set_character_name(entity_id, name)
entity_idEntity ID of the character.StringYes
nameNew name for the character.StringYes


set_character_name("red_slime", "Bob");

Results: The red slime's name will be displayed as “Bob” within any dialogue going forward.

Use the Set Character Name function to change an NPC's displayed name to something more specific or less formal after becoming acquainted with the player.

Editor Node:

Visual Demo:

set_character_name.txt · Last modified: 2021/04/21 18:49 by justin