add3DENConnection: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 97385 by Ffur2007slx2 5 on 2016-09-18T11:40:05Z) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
| '''add3DENConnection''' [type, from, to] |= Syntax | | '''add3DENConnection''' [type, from, to] |= Syntax | ||
|p1= type: [[String]] - connection class from ''Cfg3DEN >> Connections'' |= | |p1= type: [[String]] - connection class from ''Cfg3DEN >> Connections'' |PARAMETER1= | ||
|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 |PARAMETER2= | ||
|p3= to: [[Eden Entity]]- entity to which entities will be connected to |= | |p3= to: [[Eden Entity]]- entity to which entities will be connected to |PARAMETER3= | ||
| [[Bool]] - [[true]] if the connection was made |= | | [[Bool]] - [[true]] if the connection was made |RETURNVALUE= | ||
|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. | ||
|= | |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
[[remove3DENConnection]] | [[remove3DENConnection]] | ||
[[get3DENConnections]] | [[get3DENConnections]] | ||
|= | |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Connect entities together.
- Groups:
- Uncategorised
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:
- Bool - 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