remove3DENConnection: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Removes [[Eden Editor: Connecting|connection]] between entities.
|descr= Removes [[Eden Editor: Connecting|connection]] between entities.


|s1= '''remove3DENConnection''' [type, from, to]
|s1= [[remove3DENConnection]] [type, from, to]


|p1= type: [[String]] - Connection class from ''Cfg3DEN >> Connections''
|p1= type: [[String]] - Connection class from ''Cfg3DEN >> Connections''
Line 18: Line 18:
|r1= [[Boolean]] - [[true]] If the connection was removed
|r1= [[Boolean]] - [[true]] If the connection was removed


|x1= <code>[[remove3DENConnection]] ["RandomStart", [[get3DENSelected]] "Object", "marker_0"];{{cc|Remove random start on marker "marker_0" from all selected objects.}}</code>
|x1= <sqf>remove3DENConnection ["RandomStart", get3DENSelected "Object", "marker_0"];// Remove random start on marker "marker_0" from all selected objects.</sqf>


|seealso= [[add3DENConnection]] [[get3DENConnections]]
|seealso= [[add3DENConnection]] [[get3DENConnections]]
}}
}}

Revision as of 10:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Removes connection between entities.
Groups:
Eden Editor

Syntax

Syntax:
remove3DENConnection [type, from, to]
Parameters:
type: String - Connection class from Cfg3DEN >> Connections
from: Array of Eden Entities - Entities which has a connection
to: Eden Entity - Connection target
Return Value:
Boolean - true If the connection was removed

Examples

Example 1:
remove3DENConnection ["RandomStart", get3DENSelected "Object", "marker_0"];// Remove random start on marker "marker_0" from all selected objects.

Additional Information

See also:
add3DENConnection get3DENConnections

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note