Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra_data text effect info #66

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion documentation/layered-portraits.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ join Agustina center [extra_data="set Mouth/Happy"]
update Agustina [extra_data="set Eyes/Wink, set Mouth/Laugh, set Clothes/Outfit2"]
```

In the visual editor you can use the same commands in the "Extra Data" field.
In the visual editor you can use the same commands in the "Extra Data" field:

![](media/layered_portrait/character_join_extra_data.jpg)

You can also control these layers using [Text Effects](./text-effects.md#extra-data-effect).

## 5.1. Layer Command Syntax

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions documentation/text-effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ Changes the portrait of the speaker to the portrait with the given name.

Changes the typing mood to the one with the given name.

### Extra Data Effect

**Syntax:** `[extra_data=value]`

Changes the extra data of the speaker to the given value.

---

## Auto-Advance Effect
Expand Down