create3DENComposition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 7: Line 6:


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


| Create new [[Eden_Editor:_Composition|Composition]]. To create individual entities, use [[create3DENEntity]]. |DESCRIPTION=
| Create new [[Eden_Editor:_Composition|Composition]]. To create individual entities, use [[create3DENEntity]]. |DESCRIPTION=
____________________________________________________________________________________________


| '''create3DENComposition''' [configPath,  position] |SYNTAX=
| '''create3DENComposition''' [configPath,  position] |SYNTAX=
Line 21: Line 18:
[[screenToWorld]] [0.5,0.5]
[[screenToWorld]] [0.5,0.5]
];</code>|EXAMPLE1=  
];</code>|EXAMPLE1=  
____________________________________________________________________________________________


| [[create3DENEntity]] |SEEALSO=  
| [[create3DENEntity]] |SEEALSO=  
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:18, 17 January 2021

Hover & click on the images for description

Description

Description:
Create new Composition. To create individual entities, use create3DENEntity.
Groups:
Eden Editor

Syntax

Syntax:
create3DENComposition [configPath, position]
Parameters:
configPath: Config - path to CfgGroups class of a composition
position: Array in format Position
Return Value:
Array of Eden Entities

Examples

Example 1:
myComposition = create3DENComposition [ configFile >> "CfgGroups" >> "West" >> "BLU_F" >> "Infantry" >> "BUS_InfSquad", screenToWorld [0.5,0.5] ];

Additional Information

See also:
create3DENEntity

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