BIS fnc versionInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3|1.00|" to "| arma3 |1.00 |")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3
|1.00


|gr1= GUI|
|game1= arma3
* Fills first passed control with game type and version number.
|version1= 1.00
* Positions both controls according to game type.| [control_1,controls_2] call [[BIS_fnc_versionInfo]];|p1= control_1 - [[Control]] - Control for indication of game type (Stable/Dev) and version number (RscText).|p2= control_2 - [[Control]] - Control for indication of modded game (RscActiveText).|r1=[[Nothing]]


|x1= <code>[_ctrlVersion,_ctrlModded] [[call]] [[BIS_fnc_versionInfo]];</code>
|gr1= GUI


|[[productVersion]]}}
|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]];
 
|p1= gameTypeVersionControl - [[Control]] - Control for indication of game type (Stable/Dev) and version number (RscText)
 
|p2= modControl - [[Control]] - Control for indication of modded game (RscActiveText)
 
|r1= [[Nothing]]
 
|x1= <code>[_ctrlVersion, _ctrlModded] [[call]] [[BIS_fnc_versionInfo]];</code>
 
|seealso= [[productVersion]]
}}

Revision as of 16:15, 13 June 2021

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