add3DENConnection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| [[Eden Editor: Connecting|Connect]] entities together. | | [[Eden Editor: Connecting|Connect]] entities together. | ||
| '''add3DENConnection''' [type, from, to] | | '''add3DENConnection''' [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 are being connected | |p2= from: [[Array]] of [[Eden Entity|Eden Entities]] - entities which are being connected | ||
|p3= to: [[Eden Entity]]- entity to which entities will be connected to | |p3= to: [[Eden Entity]]- entity to which entities will be connected to | ||
| [[Boolean]] - [[true]] if the connection was made | | [[Boolean]] - [[true]] if the connection was made | ||
|x1= <code>[[add3DENConnection]] ["RandomStart",[[get3DENSelected]] "Object","marker_0"]</code> | |x1= <code>[[add3DENConnection]] ["RandomStart",[[get3DENSelected]] "Object","marker_0"]</code> | ||
Set random start on marker "marker_0" for all selected objects. | Set random start on marker "marker_0" for all selected objects. | ||
| | | | ||
[[remove3DENConnection]] | [[remove3DENConnection]] | ||
[[get3DENConnections]] | [[get3DENConnections]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:00, 18 January 2021
Description
- Description:
- Connect entities together.
- Groups:
- Eden Editor
Syntax
- Syntax:
- add3DENConnection [type, from, to]
- Parameters:
- type: String - connection class from Cfg3DEN >> Connections
- from: Array of Eden Entities - entities which are being connected
- to: Eden Entity- entity to which entities will be connected to
- Return Value:
- Boolean - true if the connection was made
Examples
- Example 1:
add3DENConnection ["RandomStart",get3DENSelected "Object","marker_0"]
Set random start on marker "marker_0" for all selected objects.
Additional Information
- See also:
- remove3DENConnection 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
Notes