Arma 3 Scripting

Command in Eden Editor

add3DENConnection

Also available as Markdown and JSON, or read the original wiki page.

Description

Connect entities together. Be aware to select the correct type of Eden Entities for the connection type.

Syntax

add3DENConnection [type, from, to]

Parameters:

Returns: Boolean - true If the connection was made

Examples

Example 1

add3DENConnection ["RandomStart", get3DENSelected "Object", "marker_0"];// Set random start on marker "marker_0" for all selected objects.

Example 2

// Group all selected units to the first selected group
private _group = get3DENSelected "Group" param [0, grpNull];
private _units = get3DENSelected "Objects";

add3DENConnection ["Group", _units, _group];

See also

remove3DENConnection · get3DENConnections