{"name":"updateDrawIcon","title":"updateDrawIcon","type":"command","url":"https://community.bistudio.com/wiki/updateDrawIcon","revid":363252,"updated":"2024-03-26T10:51:27Z","groups":["Game 2 Editor"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Updates the icon to be shown in 2D editor for the specified editor,object. If maintain size is false,icon will not scale depending on the,scale of the map. If maintain size is a number,the icon will maintain,size if map scale is below that number.\n\n> [!NOTE]\n> Some Old Editor Command","syntaxes":[{"syntax":"map updateDrawIcon [object,string identifier,color,offset,width,height,maintain size?,angle,shadow]","params":[{"name":"map","type":"Control","type_expr":"Control"},{"name":"[object,string identifier,color,offset,width,height,maintain size?,angle,shadow]: Array","type_expr":"Array"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"map"},"right":{"text":"[object,string identifier,color,offset,width,height,maintain size?,angle,shadow]"}}],"examples":[{"text":"-"}]}