BIS fnc versionInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - " \|s([0-9]) *= *([^ ]+); * " to " |s$1= $2 ")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| a3 |= Game name
|gr1= GUI


|1.00|= Game version
|descr= Fills the first passed control with game type and version number, and positions both controls according to the game type.
____________________________________________________________________________________________


|
|s1= [gameTypeVersionControl, modControl] call [[BIS_fnc_versionInfo]]
* Fills first passed control with game type and version number.
* Positions both controls according to game type.|DESCRIPTION=
____________________________________________________________________________________________


| [control_1,controls_2] call [[BIS_fnc_versionInfo]];|SYNTAX=
|p1= gameTypeVersionControl - [[Control]] - Control for indication of game type (Stable/Dev) and version number (RscText)


|p1= control_1 - [[Control]] - Control for indication of game type (Stable/Dev) and version number (RscText).|PARAMETER1=
|p2= modControl - [[Control]] - Control for indication of modded game (RscActiveText)


|p2= control_2 - [[Control]] - Control for indication of modded game (RscActiveText).|PARAMETER2=
|r1= [[Nothing]]


|[[Nothing]]|RETURNVALUE=
|x1= <sqf>[_ctrlVersion, _ctrlModded] call BIS_fnc_versionInfo;</sqf>
____________________________________________________________________________________________
 
|x1= <code>[_ctrlVersion,_ctrlModded] [[call]] [[BIS_fnc_versionInfo]];</code> |=
____________________________________________________________________________________________
 
|[[productVersion]] |SEEALSO=


|seealso= [[productVersion]]
}}
}}
<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:versionInfo}}]]
[[Category:Functions|{{uc:versionInfo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:versionInfo}}]]

Latest revision as of 11:50, 13 July 2022

Hover & click on the images for description

Description

Description:
Fills the first passed control with game type and version number, and positions both controls according to the game type.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[gameTypeVersionControl, modControl] call BIS_fnc_versionInfo
Parameters:
gameTypeVersionControl - Control - Control for indication of game type (Stable/Dev) and version number (RscText)
modControl - Control - Control for indication of modded game (RscActiveText)
Return Value:
Nothing

Examples

Example 1:
[_ctrlVersion, _ctrlModded] call BIS_fnc_versionInfo;

Additional Information

See also:
productVersion

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