remove3DENConnection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Eden Editor


|gr1= Eden Editor
|descr= Removes [[Eden Editor: Connecting|connection]] between entities.


| Remove [[Eden Editor: Connecting|connection]] between entities.
|s1= [[remove3DENConnection]] [type, from, to]


| '''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


|x1= <code>[[remove3DENConnection]] ["RandomStart",[[get3DENSelected]] "Object","marker_0"]</code>
|r1= [[Boolean]] - [[true]] If the connection was removed
Remove random start on marker "marker_0" from all selected objects.


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


|
|seealso= [[add3DENConnection]] [[get3DENConnections]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15: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