add3DENConnection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <!-- DISCONTINUE Notes -->" to "")
m (Text replacement - " {3,}\|" to " |")
Line 17: Line 17:
|x1= <code>[[add3DENConnection]] ["RandomStart",[[get3DENSelected]] "Object","marker_0"]</code>
|x1= <code>[[add3DENConnection]] ["RandomStart",[[get3DENSelected]] "Object","marker_0"]</code>
Set random start on marker "marker_0" for all selected objects.
Set random start on marker "marker_0" for all selected objects.


|  
|  

Revision as of 17:04, 18 January 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