BIS fnc exportEditorPreviews: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page for BIS_fnc_exportEditorPreview with examples from https://community.bistudio.com/wiki/Eden_Editor:_Configuring_Asset_Previews)
 
No edit summary
Line 72: Line 72:
[[Category:Functions|{{uc:exportEditorPreviews}}]]
[[Category:Functions|{{uc:exportEditorPreviews}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportEditorPreviews}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportEditorPreviews}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on June 5, 2016 - 00:29 (UTC)</dd>
<dt class="note">[[User:Pennyworth|Pennyworth]]</dt>
<dd class="note">
The function will go through given objects and automatically create screenshots for them in the following folder:
<code><Arma 3 Profile>\Screenshots\EditorPreviews</code>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 02:29, 5 June 2016


Hover & click on the images for description

Description

Description:
/*

	Description:
	Export list of objects for Community Wiki
	http://community.bistudio.com/wiki/Category:Arma_3:_Assets

	Parameter(s):
		0: NUMBER - duration in seconds for which an objects remains on the screen before its screen is captured (default: 1 s)
		1: STRING:
			"vehicles" - only characters and vehicles will be used
			"props" - only props will be used
			"all" (default) - all objects will be used
		2: ARRAY of SIDEs - list of sides. Only objects of these sides will be used  (default: all sides)
		3: ARRAY of STRINGs - list of CfgMods classes. Only objects belonging to these mods will be used (default: all mods)
		3: ARRAY of STRINGs - list of CfgPatches classes. Only objects belonging to these addons will be used (default: all addons)

	Returns:
	Nothing
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
All objects: 0 = [] spawn BIS_fnc_exportEditorPreviews;
Example 2:
All characters and vehicles. Capturing delay will be 0.5 seconds: 0 = [0.5,"vehicles"] spawn BIS_fnc_exportEditorPreviews;
Example 3:
BLUFOR characters and vehicles: 0 = [nil,"vehicles",[west]] spawn BIS_fnc_exportEditorPreviews;
Example 4:
Props in Karts DLC: 0 = [nil,"props",[],["kart"]] spawn BIS_fnc_exportEditorPreviews;
Example 5:
All objects in specified addons: 0 = [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: 0 = [nil,"vehicles",[west],["mark"]] spawn BIS_fnc_exportEditorPreviews;

Additional Information

See also:
screenshot

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

Notes

Bottom Section

Posted on June 5, 2016 - 00:29 (UTC)
Pennyworth
The function will go through given objects and automatically create screenshots for them in the following folder: <Arma 3 Profile>\Screenshots\EditorPreviews