BIS fnc 3DENExportSQF: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) |
||
Line 13: | Line 13: | ||
| [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] |Syntax= | | [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] |Syntax= | ||
|p1= '''showWindow''': [[Boolean]] - (Optional, default [[true]]) [[ | |p1= '''showWindow''': [[Boolean]] - (Optional, default [[true]]) [[true]] to show window with script code|Parameter 1= | ||
|p2= '''exportLayers''': [[Boolean]] - (Optional, default [[true]]) [[ | |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)|Parameter 2= | ||
|p3= '''center''': [[Position]] - (Optional, default [0,0,0]) Center position, all entity positions will be exported as relative |Parameter 3= | |p3= '''center''': [[Position]] - (Optional, default [0,0,0]) Center position, all entity positions will be exported as relative |Parameter 3= | ||
|p4= '''checkBlacklist''': [[Boolean]] - (Optional, default [[false]]) [[ | |p4= '''checkBlacklist''': [[Boolean]] - (Optional, default [[false]]) [[true]] to export with check if specific entity ID was blacklisted |Parameter 4= | ||
| [[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= |
Revision as of 17:58, 26 December 2020
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