do: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
||
Line 33: | Line 33: | ||
}} | }} | ||
Revision as of 23:47, 1 March 2021
Description
- Description:
- Description needed
- Groups:
- Program Flow
Syntax
- Syntax:
- Syntax needed
- Parameters:
- construct: One of:
- While Type (while)
- With Type (with)
- For Type (for)
- Switch Type (switch)
- code: Code
- Return Value:
- Return value needed
Examples
- Example 1:
while { b > a } do { a = a + 1 };
- Example 2:
- 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;
Additional Information
- See also:
- Control Structures
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note