LogoPixi’VN

Персонажи

Learn how to define, use, and customize characters in Pixi’VN ink scripts, including dialogue association, name replacement, renaming, and emotions.

Before to read this section, it is recommended to read how to create and use characters in Pixi’VN.

Use

Associate a character with a dialogue

You can associate a character with a dialogue in ink. To do this, you need to use the following syntax:

mc: Hello

Например:

=== start ===
mc: Hello, I'm Liam.
-> DONE

Use character name in dialogues text

You can use the character name in dialogues. To do this, you need to use the following syntax:

Hello, [mc].

Например:

=== start ===
Hello, [mc].
-> DONE

Редактировать

You can edit a character's information in ink, for example, you can change the character's name. To do this, you need to use the following syntax:

# rename mc Liam

Например:

=== start ===
mc: Hello, I'm [mc].
# request input string
mc: My name is:
# rename mc {_input_value_}
mc: My name is [mc]
-> DONE

Эмоции персонажей

You can use the character emotions in ink. To do this you just need to use a special ID composed of the character id, the @ separator, and the emotion:

mc@happy: Hi, I'm Liam. I'm very happy today.

Например:

=== start ===
mc@happy: Hi, I'm Liam. I'm very happy today.
-> DONE

На этой странице