跳到主要内容
 Warning: Beta Version
版本:Beta ⚠️(未翻译)

Random Spoken Dialogue

The Random Spoken Dialogue action displays a randomly selected animated message to the player.

How could this be used?​

Let's say you have an NPC in your game who tells jokes to the player. You could use the Random Spoken Dialogue action to randomly select a joke from a list of possible jokes and have the NPC "tell" it to the player using an animated message.

Fields​

Criteria

继承列表
玩家必须满足的一系列条件,才能触发此条目。

Modifiers

继承列表
当此条目被触发时,玩家的一系列条件将被修改。

Triggers

必填列表

Speaker

必填

Messages

必填列表彩色占位符

A list of messages to display to the player. Every time the dialogue is triggered, one of these messages will be picked at random.


可以使用来自 MiniMessage Adventure Api 的颜色和格式。例如,您可以使用 <red>Some Text</red> 来显示红色文本。

可以使用来自 PlaceholderApi 的占位符。例如,您可以使用 %player_name% 来表示玩家名称。

Duration

必填

The duration it takes to type out the message.


持续时间可以按以下格式指定:1d 2h 3m 4s。支持以下单位:d 表示天,h 表示小时,m 表示分钟,s 表示秒。