This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
set_character_name [2017/05/13 16:14] – justin | set_character_name [2020/05/04 08:14] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Changes the name of the specified character. | + | Changes the name of the specified |
+ | ====Signature: | ||
<code python> | <code python> | ||
set_character_name(character_id, | set_character_name(character_id, | ||
Line 9: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |character_id|Entity ID of the character.|[[String]]|Yes| | + | |character_id|[[Entity]] ID of the [[character]].|[[String]]|Yes| |
- | |name|New name for the character.|[[String]]|Yes| | + | |name|New name for the [[character]].|[[String]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
set_character_name(" | set_character_name(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | 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. | + | Use the **Set Character Name** function to change an [[NPC|NPC's]] displayed name to something more specific or less formal after becoming acquainted with the player. |
</ | </ | ||