ACE3/addons/common/functions/fnc_getVersion.sqf

19 lines
330 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
2015-09-21 11:08:10 +00:00
/*
* Author: Glowbal
* Get the version number of the current ACE build.
2015-01-16 23:21:47 +00:00
*
2015-09-21 11:08:10 +00:00
* Arguments:
* None
*
* Return Value:
* ACE Version <STRING>
*
* Example:
* [] call ace_common_fnc_getVersion
*
2015-09-21 11:08:10 +00:00
* Public: Yes
2015-01-16 23:21:47 +00:00
*/
2015-09-21 11:08:10 +00:00
getText (configFile >> "CfgPatches" >> "ACE_main" >> "versionStr") // return