BIS fnc showWelcomeScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *P([a-z])" to "$1 - p$2")
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= GUI


|1.00|= Game version
|descr= Show welcome screen. Used in the main menu (works fine in [[:Category:Eden Editor|Eden Editor]]).<br>
____________________________________________________________________________________________
<br>
[[File:BIS_fnc_showWelcomeScreen.jpg|500px|center]]


| <pre>/*
|s1= [display, forceLatest] call [[BIS_fnc_showWelcomeScreen]]
Author: Karel Moricky


Description:
|p1= display: [[Display]] - parent display where welcome screen is to be shown
Show welcome screen. TO be used in the main menu.


Parameter(s):
|p2= forceLatest: [[Boolean]] - (Optional, default [[false]]) show latest welcome screen automatically
0: DISPLAY - parent display
1 (Optional): BOOL - force showing the latest welcome screen


Returns:
|r1= [[Boolean]] - [[true]] when screen is opened
BOOL - true when a screen was opened
*/


|x1= <sqf>[findDisplay 313, true] call BIS_fnc_showWelcomeScreen;</sqf>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|seealso= [[:Category:Function Group: GUI|GUI Functions]]
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_showWelcomeScreen]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:showWelcomeScreen}}]]
[[Category:Functions|{{uc:showWelcomeScreen}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showWelcomeScreen}}]]

Latest revision as of 14:42, 8 November 2023

Hover & click on the images for description

Description

Description:
Show welcome screen. Used in the main menu (works fine in Eden Editor).

BIS fnc showWelcomeScreen.jpg
Execution:
call
Groups:
GUI

Syntax

Syntax:
[display, forceLatest] call BIS_fnc_showWelcomeScreen
Parameters:
display: Display - parent display where welcome screen is to be shown
forceLatest: Boolean - (Optional, default false) show latest welcome screen automatically
Return Value:
Boolean - true when screen is opened

Examples

Example 1:
[findDisplay 313, true] call BIS_fnc_showWelcomeScreen;

Additional Information

See also:
GUI Functions

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