get3DENConnections: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.56


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


| Return all [[Eden Editor: Connecting|connections]] currently present on an entity. |= Description
|descr= Returns all [[Eden Editor: Connecting|connections]] currently present on an entity.
____________________________________________________________________________________________


| '''get3DENConnections''' entity |= Syntax
|s1= [[get3DENConnections]]  entity
|p1= entity: [[Eden Entity]] |= PARAMETER1
 
| [[Array]] in format:
|p1= entity: [[Eden Entity]] or [[Eden ID]]
<code>[[type1,to1], [type2, to2], ..., [typeN, toN]]</code>
 
|r1= [[Array]] in format: {{hl|[[type1, to1], [type2, to2], ..., [typeN, toN]]}}
* type: [[String]] - connection class from ''Cfg3DEN >> Connections''
* type: [[String]] - connection class from ''Cfg3DEN >> Connections''
* to: [[Eden Entity]] to which the connection leads to
* to: [[Eden Entity]]: Entitiy the connection leads to
|= RETURNVALUE


|x1= <code></code>|= EXAMPLE1
|x1= <sqf>get3DENConnections _trigger; // Can return [["WaypointActivation",[B Alpha 4-5,0]]]</sqf>
____________________________________________________________________________________________


|
|seealso= [[add3DENConnection]] [[remove3DENConnection]]
[[add3DENConnection]]
[[remove3DENConnection]]
|= SEEALSO
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:00, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns all connections currently present on an entity.
Groups:
Eden Editor

Syntax

Syntax:
get3DENConnections entity
Parameters:
entity: Eden Entity or Eden ID
Return Value:
Array in format: [[type1, to1], [type2, to2], ..., [typeN, toN]]
  • type: String - connection class from Cfg3DEN >> Connections
  • to: Eden Entity: Entitiy the connection leads to

Examples

Example 1:
get3DENConnections _trigger; // Can return [["WaypointActivation",[B Alpha 4-5,0]]]

Additional Information

See also:
add3DENConnection remove3DENConnection

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