{"name":"get3DENParent","operator":null,"title":"get3DENParent","type":"command","url":"https://community.bistudio.com/wiki/get3DENParent","revid":370441,"updated":"2024-12-09T16:33:11Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.18"}],"since":{"game":"arma3","name":"Arma 3","version":"2.18"},"arma3_since":"2.18","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Obtains the provided entity's parent.","syntaxes":[{"syntax":"get3DENParent entity","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Object, Group, Array, Number, String","optional":false,"default":null,"description":"Eden Entity","types":["Object","Group","Array","Number","String"],"since":null,"text":"entity: Object, Group, Array, Number, String - Eden Entity"}],"returns":{"type":"Object, Array, Number","types":["Object","Array","Number"],"description":"Returns Eden Entity or the Eden ID representing it. -1 for system layers such as BLUFOR, OPFOR etc.","text":"Object, Array, Number - Returns Eden Entity or the Eden ID representing it. -1 for system layers such as *BLUFOR*, *OPFOR* etc."},"form":"unary","operator":null,"left":null,"right":{"text":"entity","types":["Object","Group","Array","Number","String"]}}],"examples":[{"text":"```sqf\nprivate _parent = get3DENParent _myObject;\n```","code":["private _parent = get3DENParent _myObject;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["create3DENEntity","delete3DENEntities"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 2.18","Scripting Commands"]}