BIS fnc versionInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:


{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| a3 |Game name=
| a3 |Game name=
Line 8: Line 7:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


|
|
* Fills first passed control with game type and version number.
* Fills first passed control with game type and version number.
* Positions both controls according to game type.|DESCRIPTION=
* Positions both controls according to game type.|DESCRIPTION=
____________________________________________________________________________________________


| [control_1,controls_2] call [[BIS_fnc_versionInfo]];|SYNTAX=
| [control_1,controls_2] call [[BIS_fnc_versionInfo]];|SYNTAX=
Line 22: Line 19:


|[[Nothing]]|RETURNVALUE=
|[[Nothing]]|RETURNVALUE=
____________________________________________________________________________________________


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


|[[productVersion]] |SEEALSO=
|[[productVersion]] |SEEALSO=

Revision as of 01:01, 17 January 2021


-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.00|1.00]]
Hover & click on the images for description

Description

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

Syntax

Syntax:
[control_1,controls_2] call BIS_fnc_versionInfo;
Parameters:
control_1 - Control - Control for indication of game type (Stable/Dev) and version number (RscText).
control_2 - 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

[[Category:Introduced with a3 version 1.00]][[ Category: a3: New Functions | BIS FNC VERSIONINFO]][[ Category: a3: Functions | BIS FNC VERSIONINFO]]

Notes

Bottom Section