BIS fnc versionInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 16: Line 16:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[productVersion]]
|seealso= [[productVersion]]
}}
}}

Revision as of 13:04, 5 May 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