在頭上顯示聊天訊息。

Show chat messages on the head.

最後測試使用插件版本:

Finally test the plugin version:

Action:

ChatHD:
  Action:
  - Loop[onStart=ChatHD-Start;onTime=ChatHD-Time;onEnd=ChatHD-End;period=3;duration=30]
ChatHD-Start:
  Action:
  - FloatMessage[m=䁤&hd_chat_message&䁦] @LocSelf{LA=0|&hd_chat_height&|0} #
  - FloatMessage[m=䁧]
ChatHD-Time:
  Action:
  - Hologram[teleport=true] @LocAdd{LA=0|0.1|0}
ChatHD-End:
  Action:
  - Hologram[DeleteAll=true]

Character:

#聊天訊息起始高度(以自身身高+0.5)
#The starting height of the chat message (with one's own height + 0.5)
hd_chat_height:
  message:
  - content[<fc_self_base_height>+0.5]
  - math[fc=Arith]

#聊天訊息
#Chat messages.
hd_chat_message:
  message:
  - content[<fc_self_player_chat>]
  #在每個字加上框框字再回推,因為排版再把字往回推一點。
  #Add a box word to each word and push it back, because the typesetting pushes the word back a bit.
  - Conver[function=ConverAddRL;m=>䁥,>䁥]