BIS fnc exportEditorPreviews: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Eden Editor" to "Eden Editor") |
(Added mods @ specification) |
||
Line 24: | Line 24: | ||
|p3= sides: [[Array]] of [[Side]]s - (Optional, default all sides) list of sides. Only objects of these sides will be used | |p3= sides: [[Array]] of [[Side]]s - (Optional, default all sides) list of sides. Only objects of these sides will be used | ||
|p4= mods: [[Array]] of [[String]] - (Optional, default all mods) list of CfgMods classes. Only objects belonging to these mods will be used | |p4= mods: [[Array]] of [[String]] - (Optional, default all mods) list of CfgMods classes. External mods should be prefixed with "@". Only objects belonging to these mods will be used | ||
|p5= addons: [[Array]] of [[String]] - (Optional, default all addons) list of CfgPatches classes. Only objects belonging to these addons will be used | |p5= addons: [[Array]] of [[String]] - (Optional, default all addons) list of CfgPatches classes. Only objects belonging to these addons will be used | ||
Line 54: | Line 54: | ||
|x7= <sqf>// Only the B_Soldier_F | |x7= <sqf>// Only the B_Soldier_F | ||
[nil, "all", [], [], [], ["B_Soldier_F"]] spawn BIS_fnc_exportEditorPreviews;</sqf> | [nil, "all", [], [], [], ["B_Soldier_F"]] spawn BIS_fnc_exportEditorPreviews;</sqf> | ||
|x8= <sqf>// Props in CBA | |||
[nil, "props", [], ["@cba_a3"]] spawn BIS_fnc_exportEditorPreviews;</sqf> | |||
|seealso= [[screenshot]] [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | |seealso= [[screenshot]] [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | ||
}} | }} |
Latest revision as of 23:25, 6 February 2025
Description
- Description:
- Export screenshots of objects for Eden Editor and Community Wiki to <Arma 3 Profile>
\Screenshots directory. See Arma 3 assets.\EditorPreviews - Execution:
- spawn
- Groups:
- Diagnostic
Syntax
- Syntax:
- [duration, type, sides, mods, addons, classes] spawn BIS_fnc_exportEditorPreviews
- Parameters:
- duration: Number - (Optional, default 1) duration in seconds for which an objects remains on the screen before its screen is captured
- type: String - (Optional, default "all") can be one of:
- "vehicles" - only characters and vehicles will be used
- "props" - only props will be used
- "all" - all objects will be used
- sides: Array of Sides - (Optional, default all sides) list of sides. Only objects of these sides will be used
- mods: Array of String - (Optional, default all mods) list of CfgMods classes. External mods should be prefixed with "@". Only objects belonging to these mods will be used
- addons: Array of String - (Optional, default all addons) list of CfgPatches classes. Only objects belonging to these addons will be used
- classes: Array of String - (Optional, default all classes) list of CfgVehicles classes. Only these objects will be used
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
- Example 5:
- Example 6:
- Example 7:
- Example 8:
Additional Information
- See also:
- screenshot Configuring Asset Previews
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