{"name":"addEditorObject","title":"addEditorObject","type":"command","url":"https://community.bistudio.com/wiki/addEditorObject","revid":353335,"updated":"2024-03-15T17:11:50Z","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":"Add an object to the editor and assign arguments. Create script is,called with _new equal to true. Returns the ID of the new EditorObject.,Subtype class is optional.\n\n> [!NOTE]\n> Some Old Editor Command","syntaxes":[{"syntax":"map addEditorObject [type,[name1,value1,...],subtype class]","params":[{"name":"map","type":"Control","type_expr":"Control"},{"name":"[type,[name1,value1,...],subtype class]","type":"Array","type_expr":"Array"}],"returns":{"type":"String","type_expr":"String"},"form":"binary","left":{"text":"map"},"right":{"text":"[type,[name1,value1,...],subtype class]"}}],"examples":[{"text":"-"}],"see_also":["Game 2 Editor"]}