hcSetGroup: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") | 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 ") | ||
| Line 2: | Line 2: | ||
| | arma2 | | arma2 | ||
| |1.00 | |||
| |game2= arma2oa | |||
| |version2= 1.50 | |||
| |game3= tkoh | |||
| |version3= 1.00 | |||
| | | |game4= arma3 | ||
| |version4= 0.50 | |||
| |gr1= High Command | |gr1= High Command | ||
Revision as of 20:28, 9 June 2021
Description
- Description:
- Description needed
- Groups:
- High Command
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - the leader
- group: Group
- groupName: String - (Optional)
- team: String - (Optional, default "teamMain") can be one of:
- "teamMain"
- "teamRed"
- "teamGreen"
- "teamBlue"
- "teamYellow"
 
- Return Value:
- Return value needed
Examples
- Example 1:
- unit hcSetGroup [group, "HQ", "teamred"];
- Example 2:
- player hcSetGroup [group];
- Example 3:
- if (player != hcLeader _group) then { hcLeader _group hcRemoveGroup _group; player hcSetGroup [_group]; };
Additional Information
- See also:
- High CommandhcAllGroupshcGroupParamshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcShowBarhcShownBaronHCGroupSelectionChanged
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
 
	

