setGroupIconsVisible: Difference between revisions
Jump to navigation
Jump to search
m (changed return value) |
m (added working example, which actually shows an icon.) |
||
Line 21: | Line 21: | ||
|x1= <code>[[setGroupIconsVisible]] [true, true]; | |x1= <code>[[setGroupIconsVisible]] [true,true]; | ||
[[ | ([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code>|EXAMPLE1= | ||
[[ | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 09:54, 2 May 2019
Description
- Description:
- Sets if group icons added with addGroupIcon are visible on map and in the HUD.
- Groups:
- Uncategorised
Syntax
- Syntax:
- setGroupIconsVisible [showOnMap, showOnHUD]
- Parameters:
- [showOnMap, showOnHUD]: Array
- showOnMap: Boolean - true to show on map. Default - false
- showOnHUD: Boolean - true to show on HUD. Default - false
- Return Value:
- objNull
Examples
- Example 1:
setGroupIconsVisible [true,true]; (group player) addGroupIcon ["b_inf", [0, 0]];
Additional Information
- See also:
- addGroupIconclearGroupIconsgetGroupIcongetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectable
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