事件 | 內容 | 說明 |
---|---|---|
Create Floating Text At Point | Create floating text that reads Message at Point with Z offset Z, using font size Size, color (Red%, Green%, Blue%) and Transparency% transparency | 在一地點建立一個浮動文字,設定文字內容、高度、大小、顏色(紅,綠,藍,透明度) |
Create Floating Text Above Unit | Create floating text that reads Message above Unit with Z offset Z, using font size Size, color (Red%, Green%, Blue%) and Transparency% transparency | 在一部隊頭上建立一個浮動文字,設定文字內容、高度、大小、顏色(紅,綠,藍,透明度) *浮動文字不會跟著該部隊移動 |
Destroy | Destroy Floating Text | 移除浮動文字 |
Show/Hide | Show/Hide Floating Text for Player Group | 對玩者群組中的所有玩者 顯示/隱藏 浮動文字 |
Set Velocity | Set the velocity of Floating Text to Speed towards Angle degrees | 設定浮動文字的位移角度及位移速度 *此動作只能設定一次 |
Change Color | Change the color of Floating Text to (Red%, Green%, Blue%) with Transparency% transparency | 改變浮動文字的顏色(紅,綠,藍,透明度) |
Change Position To Point | Change the position of Floating Text to Point with Z offset Z | 移動浮動文字至指定位置,並設定高度 |
Change Position To Unit | Change the position of Floating Text to Unit with Z offset Z | 移動浮動文字至指定部隊頭上,並設定高度 |
Change Text | Change text of Floating Text to Message using font size Size | 改變浮動文字的內容和大小 |
Suspend/Resume | Change Floating Text: Enable/Disable suspend state | 開啟/關閉 浮動文字的年齡計算 |
Permanent/Expires | Change Floating Text: Enable/Disable permeance | 開啟/關閉 浮動文字的永久性 *此選項若為Enable則透明度會固定為0%無法改變,並且忽略壽命和衰退點的影響 |
Change Lifespan | Change the lifespan of Floating Text to Time seconds | 改變浮動文字的壽命為X秒 |
Change Age | Change the age of Floating Text to Time seconds | 改變浮動文字的年齡為X秒 |
Change Fading Age | Change the fading age of Floating Text to Time seconds | 改變浮動文字的衰退時間點為X秒 |
當一個浮動文字被創造出來時,持久屬性為永久;suspend state=disable;年齡=0。只要suspend state=disable,年齡就隨時間增加(每秒加1 )。
當一個時限的浮動文字年齡≧壽命時,浮動文字就會被刪掉 。如果你設定了壽命但沒有把浮動文字設為時限,那麼壽命耗盡時文字不會消失。如果你把一個永久且年齡≧壽命的浮動文字設為時限,文字會立刻消失。
當一個時限的浮動文字年齡≧衰退點,浮動文字就會開始逐漸變淡消失。淡化情形(透明度)為(年齡-衰退點)/(壽命-衰退點)*100%,忽略衰退當時的透明度(一個透明度50%的 浮動文字,會從0%衰退到100%,而不是從50%到100%)。如果你改變文字的年齡,淡化的程度也將隨之改變,不過這種改變有一定的延遲。
如果沒有設定壽命,則由於透明度無法計算,因此即使設了衰退點,也不會有淡化效果。
透明度的設定對永久的浮動文字不會生效(0%)。但是如果你把一個透明度50%的浮動文字的永久性關閉,之前對透明度的設定將立刻生效(透明度由0%變為50%)。
討論區