remove3DENConnection: 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 - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2")
 
(7 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''


|p2= from: [[Array]] of [[Eden Entity|Eden Entities]] - Entities which has a connection
|p2= from: [[Array]] of [[Eden Entity|Eden Entities]] - entities which has a connection


|p3= to: [[Eden Entity]] - Connection target
|p3= to: [[Eden Entity]] - connection target


| [[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]]
}}
}}

Latest revision as of 14:06, 8 November 2023

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 or on the Forums.
Only post proven facts here! Add Note