onHCGroupSelectionChanged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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 ")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 31: Line 31:
|p1= command: [[String]] or [[Code]]
|p1= command: [[String]] or [[Code]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[onHCGroupSelectionChanged]] {
|x1= <code>[[onHCGroupSelectionChanged]] {

Revision as of 11:07, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
High CommandEvent Handlers

Syntax

Syntax:
Syntax needed
Parameters:
command: String or Code
Return Value:
Nothing

Examples

Example 1:
onHCGroupSelectionChanged { if (_isSelected) then { hint format ["Group %1 has been selected.", _group]; } else { hint format ["Group %1 has been deselected.", _group]; }; };
Example 2:
onHCGroupSelectionChanged "player globalChat 'HC group selection has been changed.';";

Additional Information

See also:
High CommandhcAllGroupshcGroupParamshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcSetGrouphcShowBarhcShownBaronCommandModeChanged

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