BIS fnc exportEditorPreviews: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 37: | Line 37: | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>{{ | |x1= <code>{{cc| All objects}}[] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
[] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x2= <code>{{ | |x2= <code>{{cc| All characters and vehicles. Capturing delay will be 0.5 seconds}}[0.5, "vehicles"] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
[0.5, "vehicles"] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x3= <code>{{ | |x3= <code>{{cc| BLUFOR characters and vehicles}}<nowiki>[</nowiki>[[nil]], "vehicles", [<nowiki/>[[west]]]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
<nowiki>[</nowiki>[[nil]], "vehicles", [<nowiki/>[[west]]]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x4= <code>{{ | |x4= <code>{{cc| Props in Karts DLC}}<nowiki>[</nowiki>[[nil]], "props", [], ["kart"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
<nowiki>[</nowiki>[[nil]], "props", [], ["kart"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x5= <code>{{ | |x5= <code>{{cc| All objects in specified addons}}<nowiki>[</nowiki>[[nil]], "all", [], [], ["A3_Armor_F_Slammer", "A3_Air_F_Heli_Heli_Transport_03"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
<nowiki>[</nowiki>[[nil]], "all", [], [], ["A3_Armor_F_Slammer", "A3_Air_F_Heli_Heli_Transport_03"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x6= <code>{{ | |x6= <code>{{cc| BLUFOR characters and vehicles in Marksmen DLC}}<nowiki>[</nowiki>[[nil]], "vehicles", [<nowiki/>[[west]]], ["mark"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
<nowiki>[</nowiki>[[nil]], "vehicles", [<nowiki/>[[west]]], ["mark"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
|x7= <code>{{ | |x7= <code>{{cc| Only the B_Soldier_F}}<nowiki>[</nowiki>[[nil]], "all", [], [], [], ["B_Soldier_F"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | ||
<nowiki>[</nowiki>[[nil]], "all", [], [], [], ["B_Soldier_F"]] [[spawn]] [[BIS_fnc_exportEditorPreviews]];</code> | |||
| [[screenshot]], [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | | [[screenshot]], [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] |
Revision as of 16:31, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- 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. 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:
- Return value needed
Examples
- Example 1:
// All objects[] spawn BIS_fnc_exportEditorPreviews;
- Example 2:
// All characters and vehicles. Capturing delay will be 0.5 seconds[0.5, "vehicles"] spawn BIS_fnc_exportEditorPreviews;
- Example 3:
// BLUFOR characters and vehicles[nil, "vehicles", [west]] spawn BIS_fnc_exportEditorPreviews;
- Example 4:
// Props in Karts DLC[nil, "props", [], ["kart"]] spawn BIS_fnc_exportEditorPreviews;
- Example 5:
// All objects in specified addons[nil, "all", [], [], ["A3_Armor_F_Slammer", "A3_Air_F_Heli_Heli_Transport_03"]] spawn BIS_fnc_exportEditorPreviews;
- Example 6:
// BLUFOR characters and vehicles in Marksmen DLC[nil, "vehicles", [west], ["mark"]] spawn BIS_fnc_exportEditorPreviews;
- Example 7:
// Only the B_Soldier_F[nil, "all", [], [], [], ["B_Soldier_F"]] spawn BIS_fnc_exportEditorPreviews;
Additional Information
- See also:
- See also needed
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