BIS fnc configViewer: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Debug |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Debug(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
||
Line 45: | Line 45: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:configViewer}}]] | [[Category:Functions|{{uc:configViewer}}]] | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:configViewer}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:configViewer}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:configViewer}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:configViewer}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:configViewer}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:configViewer}}]] |
Revision as of 16:06, 11 October 2020
Description
Syntax
- Syntax:
- [parent, cfg, showOk, onSelect, onAdd, header] call BIS_fnc_configViewer
- Parameters:
- parent: Display - (Optional, default mission display) parent display
- cfg: Config - (Optional, default all configs) root config
- showOk: Boolean - (Optional, default false) true to display OK button. Script will then wait until viewer is closed and return selected class and param
- onSelect: Code - (Optional, default {}) executed upon selecting a class. Must return String, which will be shown as structured text instead of params.
- onAdd: Code - (Optional, default {}) executed upon adding a class to list. Returned value (STRING) is item text. Empty string will skip the item.
- header: String - (Optional, default "%1") custom header. Use %1 to refer to original name ("Splendid Config Viewer")
- Return Value:
- Array
Examples
- Example 1:
call BIS_fnc_configViewer;
Additional Information
- See also:
- BIS_fnc_animViewerBIS_fnc_help
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