get3DENConnections: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
|p1= entity: [[Eden Entity]] or [[Eden ID]]
|p1= entity: [[Eden Entity]] or [[Eden ID]]


|r1= [[Array]] in format: <tt>[[type1, to1], [type2, to2], ..., [typeN, toN]]</tt>
|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]]: Entitiy the connection leads to
* to: [[Eden Entity]]: Entitiy the connection leads to


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


|seealso= [[add3DENConnection]] [[remove3DENConnection]]
|seealso= [[add3DENConnection]] [[remove3DENConnection]]
}}
}}

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