BIS fnc exportGUIBaseClasses: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
||
Line 17: | Line 17: | ||
|p1= mode: [[String]] - mode, '''case-sensitive'''; can be one of: | |p1= mode: [[String]] - mode, '''case-sensitive'''; can be one of: | ||
* {{hl|"Default"}} - classic base classes like {{hl|RscText}} or {{hl|RscPicture}} | * {{hl|"Default"}} - classic base classes like {{hl|RscText}} or {{hl|RscPicture}} | ||
* {{hl|"3DEN"}} - [[Eden Editor]] base classes like {{hl|ctrlStatic}} or {{hl|ctrlStaticPicture}} | * {{hl|"3DEN"}} - [[:Category:Eden Editor]] base classes like {{hl|ctrlStatic}} or {{hl|ctrlStaticPicture}} | ||
* {{hl|"all"}} - all GUI base classes, including more exotic ones | * {{hl|"all"}} - all GUI base classes, including more exotic ones | ||
{{Feature|important| | {{Feature|important| |
Revision as of 13:21, 9 July 2023
Description
- Description:
- Export GUI macros and base classes to the clipboard.
- Execution:
- call
- Groups:
- GUIDiagnosticBroken Functions
Syntax
- Syntax:
- mode call BIS_fnc_exportGUIBaseClasses
- Parameters:
- mode: String - mode, case-sensitive; can be one of:
- "Default" - classic base classes like RscText or RscPicture
- "3DEN" - Category:Eden Editor base classes like ctrlStatic or ctrlStaticPicture
- "all" - all GUI base classes, including more exotic ones
- Return Value:
- String - .hpp file content to be included in Description.ext, also copied to the clipboard
Examples
- Example 1:
Additional Information
- See also:
- Arma: GUI Configuration Arma 3: Utilities
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
- Posted on Sep 28, 2018 - 14:37 (UTC)
- You can use Arma 3: Utilities to get the base class for your mission config. For example if you need RscPicture base, enter utils 2 in the debug console and click LOCAL EXEC, type RscPicture and press Enter, check Include Inherited box, then click COPY. The config is now copied to Clipboard and you can paste it in your description.ext and then derive your class from it.