Fandom

武装突袭 Wiki

CtrlSetText

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Operation Flashpoint version 1.5
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.5

描述

描述:
Set the text of a control of the currently active user dialog or display. This command can be used for: static texts, buttons, edit lines and active texts as well as for images, where you can use it to set the image path.

Read Dialog Control for more information about user dialogs and controls.

基本句法

句法:
ctrlSetText [idc, text]
参数:
[idc, text]: Array

idc: Integer - control ID

text: String - text or image path, depending on the control type
返回值:
Nothing

替代句法

句法:
controlName ctrlSetText text
参数:
controlName: Control

text: String
返回值:
Nothing

范例

范例1:
ctrlSetText [100, "Hello world"];//for Dialogs
范例2:
_control ctrlSetText "Hello world.";// for Displays

额外资讯

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

ctrlText

注意事项

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

Notes

Posted on 16 Nov, 2011
HomerJohnston
For ArmA2 textured "shortcut" buttons (type = 16), you must use the alternative syntax.

Bottom Section

更多维基

随机维基