Npc
Signature
Description
Gets the name of a NPC.
It's usually used to set the speaker name in a dialog.
Arguments
Type
The are a total of 8 types (0 -> 7) which control how the identifier argument is processed.
If its higher than 0, e.g. 2 (common), the identifier value will be directly used. If its 0 (very rare), the identifier value will be used as a reference to a list that holds the real value.
This argument is optional, and will equal the value 2
if non-existent.
Identifier
The name identifier that refers to the dialogue entry x * 2
in the npcdic.bin
file.
If the type is higher than 0, the number range is -32768 -> 32767. If its 0, the number range is 0 -> 127.
Notes
Although it's possible to use a negative number as the identifier, doing so results in no name being retrieved at all.
Last updated