Fandom

武装突袭 Wiki

CutText

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Introduced with Operation Flashpoint version 1.00
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Displays a text message in the center of the screen. The text can be displayed on multiple lines by using "\n" new line characters:
cutText ["line1\nline2\nline3", "PLAIN"];

Arma 3 logo black.png For greater efficiency and ease of modability it is recommended to use named layers available with alternative syntax since Arma 3 v1.57.134673

基本句法

句法:
cutText [text, type, speed, showOnMap]
参数:
[text, type, speed, showOnMap]: Array

text: String - text to be displayed

type: String one of "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" and "WHITE IN". See Title Effect Types for more information about these values.

speed: Number - Time in seconds to fade in resource (optional, default: 1)

showOnMap: Boolean - false to hide the text when the map is opened (Introduced in ARMA 3 ).
返回值:
Nothing

替代句法

句法:
layer cutText [text, type, speed, showOnMap] (Introduced in Arma 2 / VBS2 (1.30+).)
参数:
layer: Number - layer number on which the effect is shown, where 0 is the back most. Layer number is rounded to the nearest integer and also cannot be negative. Layer 99.5 will be treated as layer 100.

[text, type, speed, showOnMap]: Array

text: String - text to be displayed

type: String one of "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" and "WHITE IN". See Title Effect Types for more information about these values.

speed: Number - Time in seconds to fade in resource (optional, default: 1)

showOnMap: Boolean - false to hide the text when the map is opened (Introduced in ARMA 3 ).
返回值:
Nothing

替代句法2

句法:
layerName cutText [text, type, speed, showOnMap]        (Since Arma 3 v1.57.134673)
参数:
layerName: String - layer name on which the effect is shown. Layer names are CaSe SeNsItIvE

[text, type, speed, showOnMap]: Array

text: String - text to be displayed

type: String one of "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" and "WHITE IN". See Title Effect Types for more information about these values.

speed: Number - Time in seconds to fade in resource (optional, default: 1)

showOnMap: Boolean - false to hide the text when the map is opened (Introduced in ARMA 3 ).
返回值:
Number - number of the allocated layer

范例

范例1:
cutText ["","BLACK OUT"]; cutText ["Hello World!","PLAIN",2];

范例2:
2 cutText ["Hello World!","PLAIN",2];

范例3:
_layer1 = "normal" cutText ["In The Centre","PLAIN"]; _layer2 = "down" cutText ["At The Bottom","PLAIN DOWN"];

额外资讯

多人游戏:
-
也可以看看:

allCutLayerstitleTextcutRsccutObjcutFadeOut

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on September 20, 2013 - 06:59
Killzone_Kid
In Arma 3 "PLAIN" param will display your text where the crosshair is, "PLAIN DOWN" will push the text further down, closer to the bottom of the screen.


Bottom Section

更多维基

随机维基