Description
Connect entities together. Be aware to select the correct type of Eden Entities for the connection type.
Syntax
add3DENConnection [type, from, to]
Parameters:
type: String - connection class from"Cfg3DEN" >> "Connections":GroupRandomStartSyncTriggerOwnerWaypointActivation
from: Array of Eden Entities - entities which are being connectedto: Eden Entity - entity to which entities will be connected to
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];