BIS_fnc_configViewer

From Bohemia Interactive Community
Revision as of 11:20, 26 July 2014 by Str (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*

	Description:
	Splendid config viewer

	Parameter(s):
		0 (Optional): DISPLAY - parent display (mission display by default)
		1 (Optional): CONFIG - root config (all configs displayed by default)
		2 (Optional): BOOL - true to display OK button. Script will then wait until viewer is closed and return selected class and param
		3 (Optional): CODE - executed upon selecting a class. Has to return STRING, which will be shown as structured text instead of params.
		3 (Optional): CODE - executed upon adding a class to list. Returned value (STRING) is item text. Empty string will skip the item.
		5 (Optional): TEXT - custom header. Use %1 to refer to original name ("Splendid Config Viewer")

	Returns:
	ARRAY
		- when OK button is not displayed, empty array is returned
		- when OK button is displayed, array of currently selected entries in format [class (CONFIG), param (STRING)] is returned.
*/
(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:

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

Notes

Bottom Section