# キャラクターによって表示する内容を変えたい

この機能を使うことで、特定の条件を満たしているキャラクターにのみ追加情報が分かるといったギミックを作ることが出来ます。

この機能は現状、以下の箇所で使用できます。

* 基本フェーズの「フェーズの内容」のテキスト/アクション/山札
* テキストタブのテキスト
* 手がかりの「手がかりの詳細」のテキスト

今回は例として手がかりの詳細のテキストを特定の条件によって変更してみましょう。

### ①テキストを作成する

「手がかりの詳細」で、条件分岐を行いたいテキストを作成します。今回は、赤文字の部分を条件によって出し分けたいと思います。

<figure><img src="/files/ZdZnTL5yVtID5ihuSD8y" alt=""><figcaption></figcaption></figure>

### ②表示条件の制限を行う

まず、以下のような手順で条件の制限を行います。

<figure><img src="/files/R1jSyjLFJGligsY2lJay" alt=""><figcaption></figcaption></figure>

そうすると、条件を設定するダイアログが表示されるので、任意の条件を設定します。

条件の詳しい設定方法は[こちら](/basic-features/condition.md)

<figure><img src="/files/YWMoj7aNH13uBrMiXQRs" alt=""><figcaption></figcaption></figure>

条件を設定し、「保存する」を押すとテキストの表示が変わり、表示条件が設定されました。

<figure><img src="/files/fDXf31KFTxcz93qIHF6H" alt=""><figcaption></figcaption></figure>

動作確認を行ってみましょう。同じ手がかりでも、キャラクターによって違う文章が表示されています。

<figure><img src="/files/XhJ93mFRtxftETebePvm" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.studio.uzu-app.com/advanced/text-customize.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
