武装突袭 Wiki
Advertisement
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

描述

描述:
Enable or disable a control of the currently active user dialog. Disabled controls cannot be clicked onto. Read Dialog Control for more information about user dialogs and controls.

基本句法

句法:
ctrlEnable [idc, enable]
参数:
[idc, enable]: Array
idc: Number - control ID
enable: Boolean - true to enable the control, false to disable it
返回值:
Nothing

替代句法

句法:
controlName ctrlEnable enable
参数:
controlName: Control
enable: Boolean
返回值:
Nothing

范例

范例1:
ctrlEnable [100, false]
范例2:
_ctrl ctrlEnable false

额外资讯

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

注意事项

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

Notes

Bottom Section

Advertisement