{"name":"setGroupIconsVisible","title":"setGroupIconsVisible","type":"command","url":"https://community.bistudio.com/wiki/setGroupIconsVisible","revid":369184,"updated":"2024-09-03T10:34:45Z","groups":["High Command"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"effect":"local"},"description":"Sets if group icons added with addGroupIcon are visible on map and in the HUD.","syntaxes":[{"syntax":"setGroupIconsVisible [showOnMap, showOnHUD]","params":[{"name":"showOnMap","type":"Boolean","description":"true to show on map. Default is false","type_expr":"Boolean"},{"name":"showOnHUD","type":"Boolean","description":"true to show on HUD. Default is false","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing","description":"(prior to Arma 3 v1.94 this command returned Object of null value)","text":"Nothing (prior to Arma 3 v1.94 this command returned Object of null value)"},"form":"unary","right":{"text":"[showOnMap, showOnHUD]"}}],"examples":[{"code":["setGroupIconsVisible [true, true];\n(group player) addGroupIcon [\"b_inf\", [0, 0]];"]}],"see_also":["addGroupIcon","clearGroupIcons","getGroupIcon","getGroupIconParams","groupIconSelectable","groupIconsVisible","onGroupIconClick","removeGroupIcon","setGroupIcon","setGroupIconParams","setGroupIconsSelectable"],"notes":[{"user":"Larrow","date":"2022-02-06T09:59:20Z","text":"If enabling for MARTA (Military Symbols) and using teamSwitch this command needs to be run again once switched to the new unit.\nPossibly do it in a mission eventHandler of TeamSwitch."}]}