add3DENConnection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2")
Line 12: Line 12:
|p1= type: [[String]] - connection class from ''Cfg3DEN >> Connections''
|p1= type: [[String]] - connection class from ''Cfg3DEN >> Connections''


|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


|p3= to: [[Eden Entity]] - Entity to which entities will be connected to
|p3= to: [[Eden Entity]] - entity to which entities will be connected to


|r1= [[Boolean]] - [[true]] If the connection was made
|r1= [[Boolean]] - [[true]] If the connection was made

Revision as of 15:06, 8 November 2023

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