groupSelectUnit: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (see also & example formating) |
||
Line 23: | Line 23: | ||
|x1= < | |x1= <code>{//after leaving menu deselect all units (command menu is not opened -> no selection) | ||
player groupSelectUnit [_x, false]; | [[player]] [[groupSelectUnit]] [_x, [[false]]]; | ||
} forEach (groupSelectedUnits player);</ | } [[forEach]] ([[groupSelectedUnits]] [[player]]);</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[groupSelectedUnits]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 07:46, 25 June 2014
Description
- Description:
- Select unit from unit's group.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unitName groupSelectUnit [unit, booleanValue]
- Parameters:
- unitName: Object - desc
- [unit, booleanValue]: Array
- unit: Object - desc
- booleanValue: Boolean - desc
- Return Value:
- Nothing
Examples
- Example 1:
{//after leaving menu deselect all units (command menu is not opened -> no selection) player groupSelectUnit [_x, false]; } forEach (groupSelectedUnits player);
Additional Information
- See also:
- groupSelectedUnits
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