BIS fnc exportGUIBaseClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
No edit summary
Line 38: Line 38:
[[Category:Functions|{{uc:exportGUIBaseClasses}}]]
[[Category:Functions|{{uc:exportGUIBaseClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportGUIBaseClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportGUIBaseClasses}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on September 28, 2018 - 14:37 (UTC)</dd>
<dt class="note">[[User:killzone_kid|killzone_kid]]</dt>
<dd class="note"> You can use [[Arma 3 Utilities]] to get the base class for your mission config. For example if you need <tt>RscPicture</tt> base, enter '''utils 2''' in the debug console and click '''LOCAL EXEC''', type <tt>RscPicture</tt> 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. 
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 15:37, 28 September 2018

Hover & click on the images for description

Description

Description:
Export GUI macros and base classes.
Execution:
call
Groups:
Uncategorised

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
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:
Dialog Control

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

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.