This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_character_name [2017/05/11 22:24] – justin | set_character_name [2021/04/21 18:49] (current) – 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, name) | + | set_character_name(entity_id, name) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |character_id|Entity ID of the character.|[[String]]|Yes| | + | |entity_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 ... | + | Use the **Set Character Name** function to change an [[NPC|NPC' |
</ | </ | ||