{"name":"add3DENConnection","title":"add3DENConnection","type":"command","url":"https://community.bistudio.com/wiki/add3DENConnection","revid":379522,"updated":"2026-10-31T00:50:03Z","groups":["Eden Editor"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Connect entities together. Be aware to select the correct type of Eden Entities for the connection type.","syntaxes":[{"syntax":"add3DENConnection [type, from, to]","params":[{"name":"type","type":"String","description":"connection class from `\"Cfg3DEN\" >> \"Connections\"`:\n\n- `Group`\n- `RandomStart`\n- `Sync`\n- `TriggerOwner`\n- `WaypointActivation`","type_expr":"String"},{"name":"from","type":"Array of Eden Entities","description":"entities which are being connected","type_expr":"Array<Eden Entity>"},{"name":"to","type":"Eden Entity","description":"entity to which entities will be connected to","type_expr":"Eden Entity"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[type, from, to]"}}],"examples":[{"code":["add3DENConnection [\"RandomStart\", get3DENSelected \"Object\", \"marker_0\"];// Set random start on marker \"marker_0\" for all selected objects."]},{"code":["// Group all selected units to the first selected group\nprivate _group = get3DENSelected \"Group\" param [0, grpNull];\nprivate _units = get3DENSelected \"Objects\";\n\nadd3DENConnection [\"Group\", _units, _group];"]}],"see_also":["remove3DENConnection","get3DENConnections"]}