zxc1289 發表於 2011-7-22 13:01:29

JA對話窗公告

本帖最後由 zxc1289 於 2011-7-22 03:25 PM 編輯

之前是使用這個公告   dispbottom


可是,在對話窗出現不太明顯

是否有另一種可以像 打指令一樣輸入指令之類的 會顯示的那種綠色的字呢?

sense 發表於 2011-7-22 13:20:18

announce使用方法:

announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}}};

但是你只需要

announce "<內容>",<旗標>,<顏色代碼>;

顏色代碼: 0x00ff00

旗標:
- bc_all: 對所有人
- bc_map: 對地圖上所有人
- bc_area: Message is sent to players in the vecinity of the source.(不知道怎麼翻譯)
- bc_self: 只有自己看的到

zxc1289 發表於 2011-7-22 14:48:14

本帖最後由 zxc1289 於 2011-7-22 03:05 PM 編輯

可以讓他只顯示在對話框 不會像廣播一樣 在上面嗎?

sense 發表於 2011-7-22 15:20:03

回復 3# zxc1289

好像只有 dispbottom 吧-.-

要顏色要動到源碼


而且也只有限制幾個

zxc1289 發表於 2011-7-22 15:25:40

恩 謝謝分享已經OK了
頁: [1]
查看完整版本: JA對話窗公告