BIS fnc configViewer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
||
Line 33: | Line 33: | ||
[[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 01:45, 2 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
Examples
- Example 1:
call BIS_fnc_configViewer;
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