User Tools

Site Tools


set_character_name

Set Character Name


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

Signature:

set_character_name(character_id, name)
ArgumentDescriptionTypeRequired
character_idEntity ID of the character.StringYes
nameNew name for the character.StringYes

Example:

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: 2018/03/16 09:48 by justin