add3DENConnection: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")  | 
				||
| Line 18: | Line 18: | ||
|r1= [[Boolean]] - [[true]] If the connection was made  | |r1= [[Boolean]] - [[true]] If the connection was made  | ||
|x1= <code>add3DENConnection ["RandomStart",   | |x1= <code>add3DENConnection ["RandomStart", get3DENSelected "Object", "marker_0"];{{cc|Set random start on marker "marker_0" for all selected objects.}}</code>  | ||
|seealso= [[remove3DENConnection]] [[get3DENConnections]]  | |seealso= [[remove3DENConnection]] [[get3DENConnections]]  | ||
}}  | }}  | ||
Revision as of 11:01, 12 May 2022
Description
- Description:
 - Connect entities together.
 - Groups:
 - Eden Editor
 
Syntax
- Syntax:
 - add3DENConnection [type, from, to]
 - Parameters:
 - type: String - Connection class from Cfg3DEN >> Connections
 - 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