{"name":"setDiarySubjectPicture","title":"setDiarySubjectPicture","type":"command","url":"https://community.bistudio.com/wiki/setDiarySubjectPicture","revid":349299,"updated":"2023-11-08T14:52:18Z","groups":["Briefing"],"status":"ok","games":{"arma3":"2.04"},"since":"arma3 2.04","arma3_since":"2.04","locality":{"argument":"global","effect":"local"},"description":"Sets a picture to be displayed on the right of the Diary subject. The picture can also be set during custom Diary subject creation, but this command also allows to change icon for the fixed subjects, like \"Tasks\", \"Diary\", \"Units\", \"Players\" and \"Statistics\".","syntaxes":[{"syntax":"unit setDiarySubjectPicture [subject, picture]","params":[{"name":"unit","type":"Object","description":"unit","type_expr":"Object"},{"name":"subject","type":"String","description":"diary subject (see Diary)","type_expr":"String"},{"name":"picture","type":"String","description":"icon path","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"[subject, picture]"}}],"examples":[{"code":["player setDiarySubjectPicture [\"Diary\", \"\\A3\\ui_f\\data\\map\\markers\\nato\\o_mech_inf.paa\"];"]}],"see_also":["createDiarySubject","removeDiarySubject","selectDiarySubject","diarySubjectExists","allDiarySubjects","Diary"]}