{"name":"create3DENEntity","operator":null,"title":"create3DENEntity","type":"command","url":"https://community.bistudio.com/wiki/create3DENEntity","revid":377519,"updated":"2026-01-02T06:52:05Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Create new Eden Entity. Used for creating individual entities; to create a composition (e.g., infantry squad), use create3DENComposition and to create a layer use add3DENLayer.\n\nThis is the only way to add new editable entities to an Eden Editor scenario. Other 'create' commands like createVehicle or createUnit will still work, but the resulting entity will not be editable.","syntaxes":[{"syntax":"create3DENEntity [mode, class, position, isEmpty]","since":null,"effect":null,"exec":null,"params":[{"name":"mode","type":"String","optional":false,"default":null,"description":"can be \"Object\", \"Trigger\", \"Waypoint\", \"Logic\", \"Marker\" or Arma 3 v2.14 \"Comment\"","types":["String"],"since":null,"text":"mode: String - can be \"Object\", \"Trigger\", \"Waypoint\", \"Logic\", \"Marker\" or Arma 3 v2.14 \"Comment\""},{"name":"class","type":"String","optional":false,"default":null,"description":"entity class, defined in one of the following classes:\n- `CfgVehicles` - objects and logic entities\n- `CfgNonAIVehicles` - triggers\n- `CfgWaypoint` - waypoints\n- `CfgMarkers` - markers","types":["String"],"since":null,"text":"class: String - entity class, defined in one of the following classes:\n- `CfgVehicles` - objects and logic entities\n- `CfgNonAIVehicles` - triggers\n- `CfgWaypoint` - waypoints\n- `CfgMarkers` - markers"},{"name":"position","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"position: Position"},{"name":"isEmpty","type":"Boolean","optional":true,"default":"false","description":"true to create vehicle without crew","types":["Boolean"],"since":null,"text":"isEmpty: Boolean - (Optional, default false) true to create vehicle without crew"}],"returns":{"type":"Eden Entity (Eden_ID for Comment)","types":["Eden Entity","Eden ID"],"description":null,"text":"Eden Entity (Eden_ID for Comment)"},"form":"unary","operator":null,"left":null,"right":{"text":"[mode, class, position, isEmpty]","types":["Array"]}},{"syntax":"group create3DENEntity [mode, class, position]","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Group","optional":false,"default":null,"description":"group in which an AI character or waypoint is created.\n- When missing for AI characters, a new group is created for them\n- When missing for waypoints, an error is logged and nothing is created\n- When used on any other mode, it is ignored and the entity is created as usual","types":["Group"],"since":null,"text":"group: Group - group in which an AI character or waypoint is created.\n- When missing for AI characters, a new group is created for them\n- When missing for waypoints, an error is logged and nothing is created\n- When used on any other mode, it is ignored and the entity is created as usual"},{"name":"mode","type":"String","optional":false,"default":null,"description":"can be \"Object\", \"Trigger\", \"Waypoint\", \"Logic\", \"Marker\" or Arma 3 v2.14 \"Comment\"","types":["String"],"since":null,"text":"mode: String - can be \"Object\", \"Trigger\", \"Waypoint\", \"Logic\", \"Marker\" or Arma 3 v2.14 \"Comment\""},{"name":"class","type":"String","optional":false,"default":null,"description":"entity class","types":["String"],"since":null,"text":"class: String - entity class"},{"name":"position","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"position: Position"}],"returns":{"type":"Eden Entity (Eden_ID for Comment)","types":["Eden Entity","Eden ID"],"description":null,"text":"Eden Entity (Eden_ID for Comment)"},"form":"binary","operator":null,"left":{"text":"group","types":["Group"]},"right":{"text":"[mode, class, position]","types":["Array"]}}],"examples":[{"text":"```sqf\ndude1 = create3DENEntity [\"Object\", \"B_Soldier_F\", screenToWorld [0.5, 0.5]];\n```","code":["dude1 = create3DENEntity [\"Object\", \"B_Soldier_F\", screenToWorld [0.5, 0.5]];"]},{"text":"```sqf\ndude2 = group dude1 create3DENEntity [\"Object\", \"B_Soldier_AR_F\", screenToWorld [0.5, 0.5]];\n```","code":["dude2 = group dude1 create3DENEntity [\"Object\", \"B_Soldier_AR_F\", screenToWorld [0.5, 0.5]];"]},{"text":"```sqf\nmyMarker = create3DENEntity [\"Marker\", \"mil_warning\", getPosATL player];\n```","code":["myMarker = create3DENEntity [\"Marker\", \"mil_warning\", getPosATL player];"]},{"text":"```sqf\nmytrigger = create3DENEntity [\"Trigger\", \"EmptyDetectorArea10x10\", getPosATL player];\n```","code":["mytrigger = create3DENEntity [\"Trigger\", \"EmptyDetectorArea10x10\", getPosATL player];"]},{"text":"Arma 3 v2.06 Create a shape marker:\n\n```sqf\nm = create3DENEntity [\"Marker\", \"\", getPosATL player];    // default rectangular marker\nm set3DENAttribute [\"markerType\", 1];                    // 0 - rectangle; 1 - ellipse\nm set3DENAttribute [\"brush\", \"DiagGrid\"];\n```","code":["m = create3DENEntity [\"Marker\", \"\", getPosATL player];\t// default rectangular marker\nm set3DENAttribute [\"markerType\", 1];\t\t\t\t\t// 0 - rectangle; 1 - ellipse\nm set3DENAttribute [\"brush\", \"DiagGrid\"];"]},{"text":"Arma 3 v2.14 Create a comment:\n\n```sqf\nmyComment = create3DENEntity [\"Comment\", \"loc_talk\", [0,0,0]];\nmyComment set3DENAttribute [\"name\", \"Title Here\"];\nmyComment set3DENAttribute [\"description\", \"Tooltip Here\"];\n```","code":["myComment = create3DENEntity [\"Comment\", \"loc_talk\", [0,0,0]];\nmyComment set3DENAttribute [\"name\", \"Title Here\"];\nmyComment set3DENAttribute [\"description\", \"Tooltip Here\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["create3DENComposition","delete3DENEntities","add3DENLayer"],"notes":[{"user":"R3vo","date":"2019-09-06T08:33:00Z","text":"To create a waypoint, use the alternative syntax and pass the group which should receive it as the left-hand argument."},{"user":"POLPOX","date":"2022-10-09T07:26:29Z","text":"Due to an unknown reason, you cannot create3DENEntity animals, will cause a crash of the game."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}