{"name":"insertEditorObject","title":"insertEditorObject","type":"command","url":"https://community.bistudio.com/wiki/insertEditorObject","revid":379356,"updated":"2026-10-30T23:55:38Z","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":"Insert an object to the editor and assign arguments. Create script is,not called. Returns the ID of the new EditorObject. Subtype class is,optional.\n\n> [!NOTE]\n> Some Old Editor Command","syntaxes":[{"syntax":"map insertEditorObject [type,value,[name1,value1,...],subtype class]","params":[{"name":"map","type":"Control","type_expr":"Control"},{"name":"[type,value,[name1,value1,...],subtype class]","type":"Array","type_expr":"Array"}],"returns":{"type":"String","type_expr":"String"},"form":"binary","left":{"text":"map"},"right":{"text":"[type,value,[name1,value1,...],subtype class]"}}],"examples":[{"text":"-"}],"notes":[{"user":"Benargee","date":"2015-05-07T13:56:00Z","text":"\"This works only in the old 3D editor\"\n- KM"}]}