BIS fnc 3DENExportSQF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3")
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.86


|1.86
|gr1= Eden Editor


|gr1= Eden Editor
|descr= Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission.
 
|s1= [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]]
 
|p1= showWindow: [[Boolean]] - (Optional, default [[true]]) [[true]] to show window with script code
 
|p2= 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)


| Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission.
|p3= center: [[Array]] format [[Position]] - (Optional, default [0,0,0]) center position, all entity positions will be exported as relative


| [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]]
|p4= checkBlacklist: [[Boolean]] - (Optional, default [[false]]) [[true]] to export with check if specific entity ID was blacklisted
|p1= '''showWindow''': [[Boolean]] -  (Optional, default [[true]]) [[true]] to show window with script code
|p2= '''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)
|p3= '''center''': [[Position]] -  (Optional, default [0,0,0]) Center position, all entity positions will be exported as relative
|p4= '''checkBlacklist''': [[Boolean]] - (Optional, default [[false]]) [[true]] to export with check if specific entity ID was blacklisted


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


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


|seealso= [[Eden Editor]]
|seealso= [[:Category:Eden Editor|Eden Editor]]
}}
}}

Latest revision as of 12:22, 8 November 2023

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: Array format 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