# Set Npc Name

### Signature

```c
void setnpcname(int id); //id:0x038a
```

### Description

Sets the name of a character (current script).

### Arguments

#### Identifier

The name identifier that refers to the dialogue entry `x * 2` in the `npcdic.bin` file.

A value of `-1` results in the character's name being removed.

### Notes

{% hint style="info" %}
Every NPC has 2 names, one before meeting them, and one after.
{% endhint %}
