點擊圖片可看到更多訊息
開始使用於
- 遊戲:
- Operation Flashpoint
- 版本:
- 1.00
描述
- 描述:
- Displays text across the screen.
If used along with cutText two different texts (in different type styles) can be shown at once.
基本句法
- 句法:
- titleText [text, type, speed]
- 參數:
- text: String
- type: String- Possible Title Effect Types:
• "PLAIN"
• "PLAIN DOWN"
• "BLACK"
• "BLACK FADED"
• "BLACK OUT"
• "BLACK IN"
• "WHITE OUT"
• "WHITE IN" - speed: Number - optional, default 1
- 返回值:
- Nothing
範例
- 範例1:
titleText ["Show this text", "PLAIN"]; titleText ["Your message", "BLACK", 2];
- 範例2:
- Use #define to display predefined messages:
#define MY_MSG "This is my message."; titleText [MY_MSG, "PLAIN", 3];
額外資訊
- 多人遊戲:
- -
- 也可以看看:
- titleFadeOutcutText
注意事項
Notes
Bottom Section
- Posted on November 21, 2014 - 09:03 (UTC)
- DreadedEntity
-
The third parameter or 'speed', as it's called in the description, refers to the amount of time the message will be shown on-screen. Multiply each number by 10 to get the number of seconds it will be shown. You can even use floats as input, like 0.1, to show a message for only 1 second.
Note: Calculating the time with that method does not include the time it takes to fade in/out, which is about 1 second unless you use numbers lower than 1.
Note: Using anything lower than 0.001 seems to have no effect, or the effect is so little it's negligible.
(A3 1.34.128075)