get3DENConnections: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


| Return all [[Eden Editor: Connecting|connections]] currently present on an entity. |DESCRIPTION=
| Return all [[Eden Editor: Connecting|connections]] currently present on an entity.


| '''get3DENConnections''' entity |SYNTAX=
| '''get3DENConnections''' entity
|p1= entity: [[Eden Entity]] or [[Eden ID]] |PARAMETER1=
|p1= entity: [[Eden Entity]] or [[Eden ID]]
| [[Array]] in format:
| [[Array]] in format:
<code>[[type1,to1], [type2, to2], ..., [typeN, toN]]</code>
<code>[[type1,to1], [type2, to2], ..., [typeN, toN]]</code>
* 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]] to which the connection leads to
|RETURNVALUE=


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


|
|
[[add3DENConnection]]
[[add3DENConnection]]
[[remove3DENConnection]]
[[remove3DENConnection]]
|SEEALSO=
 
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 01:35, 18 January 2021

Hover & click on the images for description

Description

Description:
Return 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 to which 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

Notes


Bottom Section