# 想根據角色變更顯示內容

透過使用這個功能，可以製作出只有符合特定條件的角色才能看到的額外資訊機制。

這個功能目前可以在以下位置使用：

* 基本階段的「階段內容」的文字/動作/牌堆
* 文字標籤的文字
* 線索的「線索詳細」的文字

這次以線索詳細的文字為例，嘗試根據特定條件進行更改。

### ①創建文字

在「線索詳細」中，創建想要進行條件分支的文字。這次，我們想根據條件來顯示紅色文字的部分。

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

### ②進行顯示條件的限制

首先，按照以下步驟進行條件的限制。

<figure><img src="/files/8PLPVQvif5dfGXEGz0wP" alt=""><figcaption></figcaption></figure>

這樣會顯示設定條件的對話框，請設定任意條件。

條件的詳細設定方法請參考[這裡](/zh-tw/basic-features/condition.md)

<figure><img src="/files/8mKOhQPAM3Fk6j3dEZBU" alt=""><figcaption></figcaption></figure>

設定條件後，按下「保存」後文字的顯示會改變，顯示條件已設定。

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

讓我們進行動作確認。即使是相同的線索，根據角色不同會顯示不同的文章。

<figure><img src="/files/5IejIcijv5sq50tFEzyM" 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/zh-tw/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.
