groupSelectUnit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) |
||
Line 27: | Line 27: | ||
|p4= select: [[Boolean]] | |p4= select: [[Boolean]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= After leaving menu, deselect all units (command menu is not opened -> no selection)<code>{ | |x1= After leaving menu, deselect all units (command menu is not opened -> no selection)<code>{ |
Revision as of 09:58, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Interaction
Syntax
- Syntax:
- Syntax needed
- Parameters:
- player: Object
- [unit, select]: Array
- unit: Object
- select: Boolean
- 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);
- Example 2:
- Select all units when player is the leader:
{ player groupSelectUnit [_x, true]; } forEach units player;
- Example 3:
- Open communication with group leader:
player groupSelectUnit [leader player, true];
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