BIS fnc 3DENExportSQF: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.86 | |1.86 | ||
|gr1 = Eden Editor | |gr1 = Eden Editor | ||
| Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission. | | Export 3DEN mission to SQF script. When called, the script will dynamically recreate the mission. | ||
| [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] | | [showWindow,exportLayers,center,checkBlacklist] call [[BIS_fnc_3DENExportSQF]] | ||
|p1= '''showWindow''': [[Boolean]] - (Optional, default [[true]]) [[true]] to show window with script code | |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) | |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 | |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 | |p4= '''checkBlacklist''': [[Boolean]] - (Optional, default [[false]]) [[true]] to export with check if specific entity ID was blacklisted | ||
| [[Array]] in form [[objects,groups,triggers,waypoints,logics,markers],[objectIDs,groupIDs,triggerIDs,waypointIDs,logicIDs,markerIDs]] | | [[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= <code>[ [[true]], [[false]], [1337,1337,0], [[true]] ] [[call]] [[BIS_fnc_3DENExportSQF]];</code> | ||
|[[Eden Editor]] | |[[Eden Editor]] | ||
}} | }} |
Revision as of 22:04, 17 January 2021
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