BIS fnc exportCfgGroups: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=function \| *arma ?3 * \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \| <pre>\/\*" to "{{RV|type=function |game1= arma3 |version1= $1 |gr1=$2 |descr= <pre>/*") |
(missing step added) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 25: | Line 25: | ||
{{Wiki|placeholder}} | {{Wiki|placeholder}} | ||
|s1= <!-- [] call [[BIS_fnc_exportCfgGroups]] | |s1= <!-- [] call [[BIS_fnc_exportCfgGroups]] --> | ||
| | |r1= | ||
|x1= | |x1= <!-- <sqf>[] call BIS_fnc_exportCfgGroups;</sqf> --> | ||
|seealso= | |||
}} | |||
{{Note | |||
|user= .kju | |||
|timestamp= 20230125122322 | |||
|text= How to export objects to a mod/config composition: | |||
# Open the console (CTRL+D in Eden, ESC in Zeus) | |||
# Select the desired object set | |||
# Execute <sqf>[nil,get3DENSelected "" select 0] call BIS_fnc_exportCfgGroups; //Eden | |||
[nil,nil] call BIS_fnc_exportCfgGroups; //Zeus</sqf> | |||
# Paste (CTRL+V) in definitions into a text file | |||
# Create a config.cpp | |||
# Integrate into <syntaxhighlight lang="cpp" inline>class CfgGroups/Empty</syntaxhighlight> | |||
}} | }} |
Latest revision as of 13:37, 25 January 2023
Description
- Description:
/* Description: Export group or object composition for use in CfgGroups. The result will be copied to clipboard. Parameter(s): 0: position (for supported types see BIS_fnc_position). Screen center is used by default 1: objects to be saved. Currently selected objects in curator are used by default ARRAY of OBJECTs - specific objects to be saved array in format used by nearEntities, which automatically get nearby objects 0: STRING or ARRAY of STRINGS - object types 1: NUMBER - radius in metres Returns: STRING */
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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
- Posted on Jan 25, 2023 - 12:23 (UTC)
-
How to export objects to a mod/config composition:
- Open the console (CTRL+D in Eden, ESC in Zeus)
- Select the desired object set
- Execute
- Paste (CTRL+V) in definitions into a text file
- Create a config.cpp
- Integrate into
class CfgGroups/Empty