点击图片可看到更多讯息
开始使用于
- 游戏:
- 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.
基本句法
范例
- 范例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