BIS fnc 3DENExportSQF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


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


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


| Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission. |Description=
| Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission. |Description=
____________________________________________________________________________________________


| [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] |Syntax=
| [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] |Syntax=
Line 19: Line 16:


| [[Array]] in form [[objects,groups,triggers,waypoints,logics,markers],[objectIDs,groupIDs,triggerIDs,waypointIDs,logicIDs,markerIDs]] |Return value=
| [[Array]] in form [[objects,groups,triggers,waypoints,logics,markers],[objectIDs,groupIDs,triggerIDs,waypointIDs,logicIDs,markerIDs]] |Return value=
____________________________________________________________________________________________


|x1= <code>[ [[true]], [[false]], [1337,1337,0], [[true]] ] [[call]] [[BIS_fnc_3DENExportSQF]];</code> |Example 1=
|x1= <code>[ [[true]], [[false]], [1337,1337,0], [[true]] ] [[call]] [[BIS_fnc_3DENExportSQF]];</code> |Example 1=
____________________________________________________________________________________________


|[[Eden Editor]]|See also=
|[[Eden Editor]]|See also=

Revision as of 22:54, 16 January 2021

Hover & click on the images for description

Description

Description:
Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission.
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
[showWindow,exportLayers,center,checkBlacklist] call BIS_fnc_3DENExportSQF
Parameters:
showWindow: Boolean - (Optional, default true) true to show window with script code
exportLayers: Boolean - (Optional, default true) true to export layers as conditions (it's possible to create only specific layers using params passed to the exported script)
center: Position - (Optional, default [0,0,0]) Center position, all entity positions will be exported as relative
checkBlacklist: Boolean - (Optional, default false) true to export with check if specific entity ID was blacklisted
Return Value:
Array in form [[objects,groups,triggers,waypoints,logics,markers],[objectIDs,groupIDs,triggerIDs,waypointIDs,logicIDs,markerIDs]]

Examples

Example 1:
[ true, false, [1337,1337,0], true ] call BIS_fnc_3DENExportSQF;

Additional Information

See also:
Eden Editor

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