{"name":"menuSetValue","title":"menuSetValue","type":"command","url":"https://community.bistudio.com/wiki/menuSetValue","revid":378339,"updated":"2026-04-02T16:31:15Z","groups":["GUI Control - Menu"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Sets new value into menu entry on given path.","syntaxes":[{"syntax":"menuSetValue [idc, path, value]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"value","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, path, value]"}},{"syntax":"control menuSetValue [path, value]","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"value","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"[path, value]"}}],"examples":[{"code":["findDisplay 313 displayCtrl 120 menuSetValue [[0, 1], 1337];"]}],"see_also":["menuValue"]}