BIS fnc exportGUIBaseClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 14: Line 14:
{{Feature|obsolete|[[import]] keyword was introduced|arma3|2.01.146644}}
{{Feature|obsolete|[[import]] keyword was introduced|arma3|2.01.146644}}


| mode call [[BIS_fnc_exportGUIBaseClasses]]
|s1=  mode call [[BIS_fnc_exportGUIBaseClasses]]


|p1=mode: [[String]] - Mode, can be:<br>
|p1=mode: [[String]] - Mode, can be:<br>

Revision as of 22:45, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUIDiagnosticBroken Functions

Syntax

Syntax:
mode call BIS_fnc_exportGUIBaseClasses
Parameters:
mode: String - Mode, can be:
"Default" - Classic base classes like RscText or RscPicture
"3DEN" - Eden Editor base classes like ctrlStatic or ctrlStaticPicture
"all" - All GUI base classes, including more exotic ones
All modes are case sensitive. If the capitalization is disregarded the function will default to the "all" mode. In fact, there is no explicit "all" mode, rather it is the fallback if the mode is not one of "Default" or "3DEN".
Return Value:
String - Content of *.hpp file to be included in description.ext. The result is also copied to clipboard

Examples

Example 1:
"all" call BIS_fnc_exportGUIBaseClasses;

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 September 28, 2018 - 14:37 (UTC)
killzone_kid
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.