add3DENConnection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 8: Line 8:
|descr= [[Eden Editor: Connecting|Connect]] entities together.
|descr= [[Eden Editor: Connecting|Connect]] entities together.


|s1= [[add3DENConnection]]  [type, from, to]
|s1= [[add3DENConnection]]  [type, from, to]


|p1= type: [[String]] - Connection class from ''Cfg3DEN >> Connections''
|p1= type: [[String]] - Connection class from ''Cfg3DEN >> Connections''

Revision as of 16:30, 19 June 2021

Hover & click on the images for description

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