Skip to content

Commit

Permalink
Add extra_data text effect info (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
salianifo authored Oct 27, 2024
1 parent efe0239 commit f5e251e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
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

0 comments on commit f5e251e

Please sign in to comment.