add3DENConnection: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting)  | 
				 (Added note about Grouping (GroupTo instead of Group)) Tag: Reverted  | 
				||
| Line 11: | Line 11: | ||
|p1= type: [[String]] - connection class from <sqf inline>"Cfg3DEN" >> "Connections"</sqf>:  | |p1= type: [[String]] - connection class from <sqf inline>"Cfg3DEN" >> "Connections"</sqf>:  | ||
{{  | * {{hl|Group}} {{Feature|important|Despite the config value being named ''Group'', for the command to work one needs to use ''GroupTo''.}}  | ||
* {{hl|RandomStart}}  | * {{hl|RandomStart}}  | ||
* {{hl|Sync}}  | * {{hl|Sync}}  | ||
* {{hl|TriggerOwner}}  | * {{hl|TriggerOwner}}  | ||
* {{hl|WaypointActivation}}  | * {{hl|WaypointActivation}}  | ||
|p2= from: [[Array]] of [[Eden Entity|Eden Entities]] - entities which are being connected  | |p2= from: [[Array]] of [[Eden Entity|Eden Entities]] - entities which are being connected  | ||
Revision as of 15:03, 1 May 2025
Description
- Description:
 - Connect entities together.
 - Groups:
 - Eden Editor
 
Syntax
- Syntax:
 - add3DENConnection [type, from, to]
 - Parameters:
 - type: String - connection class from "Cfg3DEN" >> "Connections":
- Group
 - RandomStart
 - Sync
 - TriggerOwner
 - WaypointActivation
 
 - from: Array of Eden Entities - entities which are being connected
 - to: Eden Entity - entity to which entities will be connected to
 - Return Value:
 - 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.
 
Additional Information
- See also:
 - remove3DENConnection get3DENConnections
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note