武装突袭 Wiki
注册
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint: Resistance
版本:
1.85

描述

描述:
Executes code. Used as part of construct, such as while, with, for and switch. The code is always executed in missionNamespace.

基本句法

句法:
construct do code
参数:
construct: while, with, for, switch
code: Code
返回值:
Nothing

范例

范例1:
while {b > a} do {a = a + 1};
范例2:
A practical example: Repair all members of a group to such a level that they are able to stand up: { while {!canStand _x && alive _x} do { _x setDamage (damage _x - 0.01); }; } forEach units group unitname;

额外资讯

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

注意事项

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

Notes

Bottom Section

Advertisement