create3DENComposition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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 00:18, 17 January 2021
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